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


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

Submission status: Accepted

Solution code:

x = int(input())

if (x / 7 <= 1 and x % 7 == 0)  or (x / 5<= 1 and x % 5 == 0) or (x / 3 <= 1 and x % 3 == 0):
    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-5)*(X-3)*(X-7)==0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
S=raw_input()
print "YES" if S in "753" 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=int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

def solve():
    x = int(stdin.readline().strip())
    if x==3 or x==5 or x==7:
        print("YES")
    else:
        print("NO")
    pass

solve()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())
if X == 7:
  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 == 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:
from sys import stdin

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

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

input = lambda: stdin.readline()
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:
# using:utf-8

x = int(input())

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

Submission status: Accepted

Solution code:
N=int(input().strip())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(raw_input())

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

Submission status: Accepted

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

ans = "NO"
if X in [3, 5, 7]:
    ans = "YES"

print(ans)

Submission status: Accepted

Solution code:
x = int(input())

message = "NO"
if x == 7 or x == 5 or x == 3:
    message = "YES"

print(message)

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

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

Solution code:
x = int(raw_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==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 in [7,5,3]:
    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('YES') if input() in ('7','5','3') 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:
import sys
n=int(input())

if(n==3 or n==7 or n==5):
    print("YES")
    sys.exit(0)

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

Submission status: Accepted

Solution code:
#      
import collections, atexit, math, sys, bisect 

sys.setrecursionlimit(1000000)
def getIntList():
    return list(map(int, input().split()))    

try :
    #raise ModuleNotFoundError
    import numpy
    def dprint(*args, **kwargs):
        #print(*args, **kwargs, file=sys.stderr)
        # in python 3.4 **kwargs is invalid???
        print(*args,  file=sys.stderr)
    dprint('debug mode')
except Exception:
    def dprint(*args, **kwargs):
        pass



inId = 0
outId = 0
if inId>0:
    dprint('use input', inId)
    sys.stdin = open('input'+ str(inId) + '.txt', 'r') #标准输出重定向至文件
if outId>0:
    dprint('use output', outId)
    sys.stdout = open('stdout'+ str(outId) + '.txt', 'w') #标准输出重定向至文件
    atexit.register(lambda :sys.stdout.close())     #idle 中不会执行 atexit
    
N, = getIntList()
#print(N)


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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

Solution code:
#coding:utf-8

N = input()

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

Submission status: Accepted

Solution code:
#coding:utf-8
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:
print("YNEOS"[input() not in ("357")::2])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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 7==X or 5==X or 3==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:
# -*- coding: utf-8 -*-

N = int(input())
t753 = [3, 5, 7]

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

Submission status: Accepted

Solution code:
x=int(input())

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

Submission status: Accepted

Solution code:
x = int(input())

if x == 3:
    print('YES')
    exit()
elif x == 5:
    print('YES')
    exit()
elif x == 7:
    print('YES')
    exit()
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:
def main():
	N = int(input())
	S = [3,5,7]
	if N in S:
		print("YES")
	else:
		print("NO")

main()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
def solve():
    X = int(input())
    if X in (3,5,7):
        return 'YES'
    else:
        return 'NO'    
if __name__ == '__main__':
    print(solve())

Submission status: Accepted

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

main()

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:
# encoding: utf-8
N = int(input())
if N == 7 or N == 5 or N == 3: print("YES") # oh...
else: print("NO")

Submission status: Accepted

Solution code:
N=int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

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

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

Submission status: Accepted

Solution code:
a = int(input())

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

Submission status: Accepted

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

print(ans)

Submission status: Accepted

Solution code:
N = int(input())

if N == 7 or N == 5 or N == 3:
    S = 'YES'
else:
    S = 'NO'

print(S)

Submission status: Accepted

Solution code:
import sys
from collections import deque
import copy
import math
def get_read_func(fileobject):
    if fileobject == None :
        return raw_input
    else:
        return fileobject.readline


def main():
    if len(sys.argv) > 1:
        f = open(sys.argv[1])
    else:
        f = None
    read_func = get_read_func(f);
    input_raw = read_func().strip().split()
    [X] = [int(input_raw[0])]
    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())
#(a, b) = map(int, input().split())

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 == 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:
#!/usr/bin/env python3
# -*- 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:
a = int(input())
list = [3,5,7]
if a 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 run(a):
    ret = 'NO'
    if a == 5 or a == 3 or a == 7:
        ret = 'YES'
    return ret


def main():
    a = int(input())
    print(run(a))


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

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

Solution code:
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 == 3 or n == 5 or n == 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:
z = int(input())

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

Submission status: Accepted

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

import sys


input = sys.stdin.readline
INF = float('inf')
MOD = 10 ** 9 + 7


def inpl(): return list(map(int, input().split()))


N = int(input())

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

Submission status: Accepted

Solution code:
a = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def getN():
    return int(input())

def getMN():
    a = input().split()
    b = [int(i) for i in a]
    return b[0],b[1]

def getlist():
    a = input().split()
    b = [int(i) for i in a]
    return b

n = getN()
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) * (X - 5) * (X - 3):
    print('NO')
else:
    print('YES')

Submission status: Accepted

Solution code:
N = int(input())
#A = list(map(int, input().split()))
ary = [7, 5, 3]

if N in ary:
    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 intlist():
    k = [int(i) for i in input().split()]
    return k
def intmat(x):
    k = [[int(i) for i in input().split()] for i in range(x)]
    return k
#ここから下に書く
x = int(input())
if x==3 or x==5 or x==7:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

Solution code:
import sys


def next_str() -> str:
    result = ""
    while True:
        tmp = sys.stdin.read(1)
        if tmp.strip() != "":
            result += tmp
        elif tmp != '\r':
            break
    return result


def next_int() -> int:
    return int(next_str())


def main() -> None:
    x = next_int()

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

ans = "NO"

if X == 3:
    ans = "YES"
elif X == 5:
    ans = "YES"
elif X == 7:
    ans = "YES"

print(ans)

Submission status: Accepted

Solution code:
#JMD
#Nagendra Jha-4096

 
import sys
import math

#import fractions
#import numpy
 
###File Operations###
fileoperation=0
if(fileoperation):
    orig_stdout = sys.stdout
    orig_stdin = sys.stdin
    inputfile = open('W:/Competitive Programming/input.txt', 'r')
    outputfile = open('W:/Competitive Programming/output.txt', 'w')
    sys.stdin = inputfile
    sys.stdout = outputfile

###Defines...###
mod=1000000007
 
###FUF's...###
def nospace(l):
    ans=''.join(str(i) for i in l)
    return ans
 
 
 
##### Main ####
t=1
for tt in range(t):
    n=int(input())
    if(n==7 or n==5 or n==3):
        print("YES")
    else:
        print("NO")
    #a=list(map(int,sys.stdin.readline().split(' ')))
    #n,k,s= map(int, sys.stdin.readline().split(' '))
    
    
#####File Operations#####
if(fileoperation):
    sys.stdout = orig_stdout
    sys.stdin = orig_stdin
    inputfile.close()
    outputfile.close()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input())
yes = [3,5,7]
if n in yes:
    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:
def solve(X):
    return "YES" if X in [3, 5, 7] else "NO"

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

Submission status: Accepted

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


def main():
    """Function."""
    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())
if X == 3 or X== 5 or X== 7:
    print('YES')
else:
    print('NO')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
stdin = sys.stdin

sys.setrecursionlimit(10**5)

def li(): return map(int, stdin.readline().split())
def li_(): return map(lambda x: int(x)-1, stdin.readline().split())
def lf(): return map(float, stdin.readline().split())
def ls(): return stdin.readline().split()
def ns(): return stdin.readline().rstrip()
def lc(): return list(ns())
def ni(): return int(stdin.readline())
def nf(): return float(stdin.readline())

x = ni()
if x in [3,5,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:
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:
# -*- coding: utf-8 -*-
def inpl(): return list(map(int, input().split()))
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:
print('YES') if input() in '753' else print('NO')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

Solution code:
print("YES"*(input() in "357")or"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 == 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 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 == 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 == 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:
import sys
import math
import collections
import itertools
import array
import inspect

# Set max recursion limit
sys.setrecursionlimit(1000000)


# Debug output
def chkprint(*args):
    names = {
        id(v): k
        for k, v in inspect.currentframe().f_back.f_locals.items()
    }
    print(', '.join(
        names.get(id(arg), '???') + ' = ' + repr(arg) for arg in args))


# Binary converter
def to_bin(x):
    return bin(x)[2:]


def li_input():
    return [int(_) for _ in input().split()]


def gcd(n, m):
    if n % m == 0:
        return m
    else:
        return gcd(m, n % m)


def gcd_list(L):
    v = L[0]

    for i in range(1, len(L)):
        v = gcd(v, L[i])

    return v


def lcm(n, m):
    return (n * m) // gcd(n, m)


def lcm_list(L):
    v = L[0]

    for i in range(1, len(L)):
        v = lcm(v, L[i])

    return v


# Width First Search (+ Distance)
def wfs_d(D, N, K):
    """
    D: 隣接行列(距離付き)
    N: ノード数
    K: 始点ノード
    """

    dfk = [-1] * (N + 1)
    dfk[K] = 0

    cps = [(K, 0)]
    r = [False] * (N + 1)
    r[K] = True
    while len(cps) != 0:
        n_cps = []
        for cp, cd in cps:
            for i, dfcp in enumerate(D[cp]):
                if dfcp != -1 and not r[i]:
                    dfk[i] = cd + dfcp
                    n_cps.append((i, cd + dfcp))
                    r[i] = True

        cps = n_cps[:]

    return dfk


# Depth First Search (+Distance)
def dfs_d(v, pre, dist):
    """
    v:  現在のノード
    pre: １つ前のノード
    dist: 現在の距離

    以下は別途用意する
    D: 隣接リスト(行列ではない)
    D_dfs_d: dfs_d関数で用いる，始点ノードから見た距離リスト
    """

    global D
    global D_dfs_d

    D_dfs_d[v] = dist

    for next_v, d in D[v]:
        if next_v != pre:
            dfs_d(next_v, v, dist + d)

    return


def sigma(N):
    ans = 0
    for i in range(1, N + 1):
        ans += i
    return ans


def comb(n, r):
    if n - r < r: r = n - r
    if r == 0: return 1
    if r == 1: return n

    numerator = [n - r + k + 1 for k in range(r)]
    denominator = [k + 1 for k in range(r)]

    for p in range(2, r + 1):
        pivot = denominator[p - 1]
        if pivot > 1:
            offset = (n - r) % p
            for k in range(p - 1, r, p):
                numerator[k - offset] /= pivot
                denominator[k] /= pivot

    result = 1
    for k in range(r):
        if numerator[k] > 1:
            result *= int(numerator[k])

    return result

def bisearch(L, target):
    low = 0
    high = len(L) - 1
    
    while low <= high:
        mid = (low + high) // 2
        guess = L[mid]
        if guess == target:
            return True
        elif guess < target:
            low = mid + 1
        elif guess > target:
            high = mid - 1
    if guess != target:
        return False

# --------------------------------------------

dp = None


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

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

main()

Submission status: Accepted

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

A()

Submission status: Accepted

Solution code:
import sys

stdin = sys.stdin

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

x = ni()

if x in (3,5,7):
    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:

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

if __name__ == '__main__':
    main()

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():
    n = I()
    if n in [7,5,3]:
        return 'YES'

    return 'NO'


print(main())

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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