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:
import sys

X = int(input())

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

else:
    print('NO')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

x = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#a,b=list(map(int,input().split()))
a=int(input())

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

Submission status: Accepted

Solution code:
#a, b, c = map(int,input().split())
x = int(input())
if x == 3 or x == 5 or x == 7:
  print("YES")
  exit()
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 = 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())
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 print('NO')

Submission status: Accepted

Solution code:
S = input()
if S in "7 5 3".split():
  print("YES")
else:
  print("NO")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X=int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

if __name__ == '__main__':
	main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

# input
X = int(input())

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

# output
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())
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:
print("YNEOS"[2+~(int(input()) in [3,5,7])::2])

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())
mylist = [3,5,7]
if X in mylist:
    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:
a=int(input())
if a==7 or a==5or 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:
nl = lambda: list(map(int, input().split()))
sl = lambda: input().split()
n = lambda: int(input())
s = lambda: input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())
print('YES' if x in [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())
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:
a=input()
if a 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 = 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:
#!/usr/bin/env python3
import sys

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

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


# Generated by 1.1.4 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:
print("YES" if int(input()) in [3, 5, 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:
print('YES'if input()in'357'else'NO')

Submission status: Accepted

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


abc()

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

Submission status: Accepted

Solution code:
a = int(input())

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

Solution code:
x = int(input())

if x == 3 or x == 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:
if int(input()) in [3,5,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:
X = int(input())

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# our code here!
#x,y,z = 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:
# -*- 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 "7" in x or "5" in x or "3" in x 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 == 5 or X == 7 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:
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==7 or x==5 or x==3 else "NO")

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=int(input())

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

else:
    print("NO")

Submission status: Accepted

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


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

if __name__ == '__main__':
	import sys
	sys.exit(main())

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin
X = int(stdin.readline().rstrip())
if X == 7 or X == 5 or X == 3:
    print('YES')
else:
    print('NO')

Submission status: Accepted

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

Submission status: Accepted

Solution code:

X = int(input())

ans = "NO"

if (X == 3) or (X == 5) or (X == 7):

    ans = "YES"

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int(input())

if len({7,5,3} & {s}) > 0:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = int(input())

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

Submission status: Accepted

Solution code:
X = int(input())

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

print("YES" if age in l 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:
def main():
    age = int(input())

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

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

    return


# Generated by 1.1.4 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 in (3, 5, 7):
  print('YES')
else:
  print('NO')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8

x = int(input())

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

print(ans)

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

if x in (3, 5, 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:
from __future__ import print_function
import numpy as np
import sys
import math,string,itertools,fractions,heapq,collections,re,array,bisect,copy,functools
# from itertools import accumulate
# from collections import deque
import random

def eprint(*args, **kwargs):
    print(*args, file=sys.stderr, **kwargs)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys


def input():
    return sys.stdin.readline()[:-1]

# N = int(input())
# A = [int(x) for x in input().split()]
# a, b, c = map(int, input().split())
# name1 = str(input())
# alph = {"A": 1, "B": 2, "C": 3, "D": 4, "E": 5}


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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    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

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

celebration = (7, 5, 3)

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

Submission status: Accepted

Solution code:
X = int(input())
print('YES' if [3,5,7].count(X) > 0 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())
a = set([3,5,7])

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

Submission status: Accepted

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

if int(input()) in [3, 5, 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 = input()

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

Submission status: Accepted

Solution code:
X = int(input())
if 3 <= X <= 7 and X%2 == 1:
  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 or x==5 or 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')
    exit(0)
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:
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:
n=int(input())
print('YES') if (n==3 or n==5 or n==7) 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:
D = int(input())
if (D == 3 or D == 5 or D == 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:
     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:
print('YES' if int(input()) in (7, 5, 3) else 'NO')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
from math import *
from itertools import *
from collections import *
from functools import *
try:
    from math import gcd
except Exception:
    from fractions import gcd

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

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


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
    result = solve(X)
    print(result)

if __name__ == '__main__':
    main()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!


x = int(input())

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

Submission status: Accepted

Solution code:
X = int(input())
xs = [3,7,5]
if any([X == x for x in xs]):
  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:
import sys

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import functools
import math

import os

INF = float('inf')


def inp():
    return int(input())


def inpf():
    return float(input())


def inps():
    return input()


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


def inlf():
    return list(map(float, input().split()))


def inls():
    return input().split()


def debug(fn):
    if not os.getenv('LOCAL'):
        return fn

    @functools.wraps(fn)
    def wrapper(*args, **kwargs):
        print('DEBUG: {}({}) -> '.format(
            fn.__name__,
            ', '.join(
                list(map(str, args)) +
                ['{}={}'.format(k, str(v)) for k, v in kwargs.items()]
            )
        ), end='')
        ret = fn(*args, **kwargs)
        print(ret)
        return ret

    return wrapper


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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x=int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# ABC114A - 753
x = int(input())

print('YES' if x in [3, 5, 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())
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()
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())

target = [7,5,3]

if X in target:
    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:
# -*- 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())
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:
N = input()
N = int(N)
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:
	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 == 7: 
       print("YES")
elif N == 5:
       print("YES") 
elif N == 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:
a = int(input())
if a==7 or a==5 or a==3:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
age = int(input())

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python
x = int(input())
if x in [3,5,7]:
    print('YES')
else:
    print('NO')

Submission status: Accepted

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