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

Submission status: Accepted

Solution code:
import sys
def input(): return sys.stdin.readline().strip()


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



if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

Solution code:
import sys

stdin = sys.stdin

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

# code here
X = ni()

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x=int(input())

if x 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:
# -*- coding: <encoding name> -*-

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
# A - 753

X = int(input())

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

Submission status: Accepted

Solution code:
import itertools
import math
import fractions
import functools
import copy

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

Submission status: Accepted

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

print(solve_A())

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

Submission status: Accepted

Solution code:
from collections import defaultdict, deque, Counter
from heapq import heappush, heappop, heapify
from itertools import permutations, accumulate, combinations, combinations_with_replacement
from math import sqrt, ceil, floor, factorial
from bisect import bisect_left, bisect_right, insort_left, insort_right
from copy import deepcopy
from operator import itemgetter
from functools import reduce
from fractions import gcd
import sys
def input(): return sys.stdin.readline().rstrip()
def I(): return int(input())
def Is(): return map(int, input().split())
def LI(): return list(map(int, input().split()))
def TI(): return tuple(map(int, input().split()))
def IR(n): return [I() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def TIR(n): return [TI() for _ in range(n)]
def S(): return input()
def Ss(): return input().split()
def LS(): return list(input())
def SR(n): return [S() for _ in range(n)]
def SsR(n): return [Ss() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
sys.setrecursionlimit(10**6)
MOD = 10**9+7
INF = 10**18
# ----------------------------------------------------------- #

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

Submission status: Accepted

Solution code:
l=[1,1,1,0,1,0,1,0,1,1]
print("YNEOS"[l[int(input())]::2])

Submission status: Accepted

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

Submission status: Accepted

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

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
# import math
# from string import ascii_lowercase, ascii_upper_case, ascii_letters, digits, hexdigits
# import re                                    # re.compile(pattern) => ptn obj; p.search(s), p.match(s), p.finditer(s) => match obj; p.sub(after, s)
# from operator import itemgetter              # itemgetter(1), itemgetter('key')
# from collections import deque                # deque class. deque(L): dq.append(x), dq.appendleft(x), dq.pop(), dq.popleft(), dq.rotate()
# from collections import defaultdict          # subclass of dict. defaultdict(facroty)
# from collections import Counter              # subclass of dict. Counter(iter): c.elements(), c.most_common(n), c.subtract(iter)
# from heapq import heapify, heappush, heappop # built-in list. heapify(L) changes list in-place to min-heap in O(n), heappush(heapL, x) and heappop(heapL) in O(lgn).
# from heapq import nlargest, nsmallest        # nlargest(n, iter[, key]) returns k-largest-list in O(n+klgn).
# from itertools import count, cycle, repeat   # count(start[,step]), cycle(iter), repeat(elm[,n])
# from itertools import groupby                # [(k, list(g)) for k, g in groupby('000112')] returns [('0',['0','0','0']), ('1',['1','1']), ('2',['2'])]
# from itertools import starmap                # starmap(pow, [[2,5], [3,2]]) returns [32, 9]
# from itertools import product, permutations  # product(iter, repeat=n), permutations(iter[,r])
# from itertools import combinations, combinations_with_replacement
# from itertools import accumulate             # accumulate(iter[, f])
# from functools import reduce                 # reduce(f, iter[, init])
# from functools import lru_cache              # @lrucache ...arguments of functions should be able to be keys of dict (e.g. list is not allowed)
# from bisect import bisect_left, bisect_right # bisect_left(a, x, lo=0, hi=len(a)) returns i such that all(val<x for val in a[lo:i]) and all(val>-=x for val in a[i:hi]).
# from copy import deepcopy                    # to copy multi-dimentional matrix without reference
# from fractions import gcd                    # for Python 3.4 (previous contest @AtCoder)


def main():
    mod = 1000000007                # 10^9+7
    inf = float('inf')              # sys.float_info.max = 1.79...e+308
    # inf = 2 ** 64 - 1               # (for fast JIT compile in PyPy) 1.84...e+19
    sys.setrecursionlimit(10**6)    # 1000 -> 1000000
    def input(): return sys.stdin.readline().rstrip()
    def ii():    return int(input())
    def mi():    return map(int, input().split())
    def mi_0():  return map(lambda x: int(x)-1, input().split())
    def lmi():   return list(map(int, input().split()))
    def lmi_0(): return list(map(lambda x: int(x)-1, input().split()))
    def li():    return list(input())
    
    
    x = ii()
    print('YES') if x == 3 or x == 5 or x == 7 else print('NO')


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
import sys
import math
import bisect

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())
gre = [3,5,7]

if (N in gre):
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
x = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


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

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

    print(ans)


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def ABC_114_A():
    X = int(input())

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

if __name__ == '__main__':

    ABC_114_A()

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

num = abs(X -5)
ans = "NO"
if num == 0 or num == 2:
    ans = "YES"
print(ans)

Submission status: Accepted

Solution code:
print("YES"if input()in"357"else"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 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
    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:
# A
N =  int(input())

if N in [7,5,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:
a=int(input())
if a==7 or a==5 or a==3:
    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==7 or x==5 or x==3 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('NYOE S'[input()in '753'::2])

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

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 == 5 or abs(x-5) == 2 else 'NO')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x=int(input())

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

Submission status: Accepted

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

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 (3,5,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 print("NO")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = int(input())

if i == 7:
    print("YES")
elif i == 5:
    print("YES")
elif i == 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"+"\n")
else:
  print("NO"+"\n")

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

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())

def check():
    if N==3 or N==5 or N==7:
        return True
    return False
if check():
    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(open(0).read())
if x in [3,5,7]:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
def resolve():
    x=input()
    if x in '753':
        print('YES')
    else:
        print('NO')
resolve()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding:utf-8

import sys
import math
import time
#import numpy as np
import collections
from collections import deque
from collections import Counter
import queue
import copy
import bisect
import heapq
import itertools

#sys.setrecursionlimit(10**7)
#N, Q = map(int, input().split())
#G = [list(input()) for i in range(H)]
#INF = V * 10001
#A = [int(i) for i in input().split()]
#AB = [list(map(int, input().split())) for _ in range(K)]

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
import sys

sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))

X = ir()
bl = (3 <= X <= 7) and X&1
print('YES' if bl else 'NO')

Submission status: Accepted

Solution code:
X = input()
print('YES' if X == '7' or X == '5' or X == '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:
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product, groupby
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

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

if o==3 or o==5 or o==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:


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


if __name__ == "__main__":
    solve()

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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())

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:
def a753(x):

    return "YES" if x == 3 or x == 5 or x == 7 else "NO"

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def YN(P):
    if P:
        print("YES")
    else:
        print("NO")

def yn(P):
    if P:
        print("Yes")
    else:
        print("No")
        
x=int(input())
YN(x==3 or x==5 or x==7)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
input = lambda: sys.stdin.readline().rstrip()

X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
import collections
import sys

#input = sys.stdin.readline
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))
def LI2(): return [int(input()) for i in range(n)]
def MXI(): return [[LI()]for i in range(n)]

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

Submission status: Accepted

Solution code:
import sys
IS = lambda: sys.stdin.readline().rstrip()
II = lambda: int(IS())
MII = lambda: list(map(int, IS().split()))

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=str(input())
l="753"
flag = 0
for m in l:
    if m in n:
        flag = 1
print("YES" if flag ==1 else "NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
idade = int(input())

if 1 <= idade <= 9:
    if idade == 3 :
        print("YES")
    elif idade == 5 :
        print("YES")
    elif idade == 7 :
        print("YES")
    else :
        print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
''' Versao V judge'''
line = input()
num = [int(n) for n in line.split()][0]
predicted_value = "NO"
if num in [3, 5, 7]:
    predicted_value = "YES"
print(predicted_value)

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

Submission status: Accepted

Solution code:
x = int(input())

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

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

Submission status: Accepted

Solution code:
sinchi = [7, 5, 3]
ano = int(input())
if ano in sinchi:
    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:
idade = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())

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

Submission status: Accepted

Solution code:
def main():
    import sys
    input = sys.stdin.readline
    sys.setrecursionlimit(10**7)
    from collections import Counter, deque
    #from collections import defaultdict
    from itertools import combinations, permutations, accumulate, groupby
    #from itertools import product
    from bisect import bisect_left,bisect_right
    from heapq import heapify, heappop, heappush
    from math import floor, ceil
    #from operator import itemgetter

    #inf = 10**17
    #mod = 10**9 + 7

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

if __name__ == '__main__':
    main()