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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

x = int(input())

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

Submission status: Accepted

Solution code:
x = int(input())
print('YES' if x == 7 or x == 5 or x == 3 else '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:
import sys, math
from itertools import permutations, combinations
from collections import defaultdict, Counter, deque
from math import factorial
from bisect import bisect_left #bisect_left(list, value)
#from fractions import gcd
sys.setrecursionlimit(10**7)
enu = enumerate
MOD = 10**9+7
def input(): return sys.stdin.readline()[:-1]
def pri(x): print('\n'.join(map(str, x)))

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 105 % X == 0 and X != 1: print("YES")
else:print("NO")

Submission status: Accepted

Solution code:
#ABC-114-A
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,7,5] 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:
#!/usr/bin/env python3

import sys
import math
from bisect import bisect_right as br
from bisect import bisect_left as bl
sys.setrecursionlimit(2147483647)
from heapq import heappush, heappop,heappushpop
from collections import defaultdict
from itertools import accumulate
from collections import Counter
from collections import deque
from operator import itemgetter
from itertools import permutations
mod = 10**9 + 7
inf = float('inf')
def I(): return int(sys.stdin.readline())
def LI(): return list(map(int,sys.stdin.readline().split()))

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

Submission status: Accepted

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


if x in lis:
    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:
MOD = 10 ** 9 + 7
INF = 10 ** 10
import sys
sys.setrecursionlimit(100000000)
dy = (-1,0,1,0)
dx = (0,1,0,-1)

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

Submission status: Accepted

Solution code:
from collections import deque
from collections import Counter
from itertools import product, permutations,combinations
from operator import itemgetter
from heapq import heappop, heappush
from bisect import bisect_left, bisect_right, bisect
#pypyではscipy, numpyは使えない
#from scipy.sparse.csgraph import shortest_path, floyd_warshall, dijkstra, bellman_ford, johnson, minimum_spanning_tree
#from scipy.sparse import csr_matrix, coo_matrix, lil_matrix
#import numpy as np
from fractions import gcd
from math import ceil,floor, sqrt, cos, sin, pi, factorial
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10**8)
INF = float('inf')
from datetime import datetime as dt

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:
# ABC 114: A – 753
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 [3, 5, 7].count(x) > 0:
  print('YES')
else:
  print('NO')

Submission status: Accepted

Solution code:
def main():
  n = int(input())
  #s = input()
  #s = input().split()
  #a,b = list(map(int,input().split()))
  #a = [input() for i in range(n)]
  #a = [int(input()) for i in range(n)]
  #a = [input().split() for i in range(n)]
  #a = [list(map(int,input().split())) for i in range(n)]
  ans = 0
  count = 0
  lis = []
  
  if n == 7 or n == 5 or n == 3:
    print("YES")
  else:
    print("NO")

if __name__ == '__main__':
  main()

Submission status: Accepted

Solution code:
import itertools
import fractions
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())
list=[7,5,3]
if(X in list):
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
X = int(input())

CELE=[3,5,7]

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

Submission status: Accepted

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

u = set('753')
x = sys.stdin.readline().rstrip()

def main():
    ans = 'YES' if x in u else 'NO'
    print(ans)

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

Submission status: Accepted

Solution code:
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

if __name__ == '__main__':
    s =int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def ii():return int(input())
def iim():return map(int,input().split())
def iil():return list(map(int,input().split()))
x=ii()

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

Submission status: Accepted

Solution code:
import sys
from bisect import *
from heapq import *
from collections import *
from itertools import *
from functools import *
from math import *
from fractions import *

sys.setrecursionlimit(100000000)
input = lambda: sys.stdin.readline().rstrip()

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

main()

Submission status: Accepted

Solution code:
import sys
import os

ii = lambda: int(sys.stdin.buffer.readline().rstrip())
il = lambda: list(map(int, sys.stdin.buffer.readline().split()))

iss = lambda: sys.stdin.buffer.readline().decode().rstrip()
isn = lambda n: [sys.stdin.buffer.readline().decode().rstrip() for _ in range(n)]


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

    N = iss()
    print('YES' if N in '753' else 'NO')



if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

Solution code:
def main():
    from builtins import int, str, map, list, dict, float, print, len, sorted, max, min
    from itertools import accumulate, permutations, combinations
    from collections import deque, defaultdict, Counter
    from operator import itemgetter
    from bisect import bisect_left, bisect_right, bisect
    from heapq import heappop, heappush
    from fractions import gcd
    import sys, re, math, copy
    sys.setrecursionlimit(10 ** 6)

    input = sys.stdin.readline
    input_list = (lambda: input().rstrip().split())
    input_number = (lambda: int(input()))
    input_number_list = (lambda: list(map(int, input_list())))

    N = input_number()
    print('YNEOS'[not N in [3,5,7]::2])


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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=int(input())
print(["NO","YES"][n==7 or n==5 or n==3])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
age = int(input())
if age == 3:
  print("YES")
elif age == 5:
  print("YES")
elif age == 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 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 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=input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

x = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=int(input())
if(3<=n<=7 and n%2==1):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:
# | Its_Rashid | #
a = [3 , 5 , 7]
b = int(input())
print('YES' if b in a 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:
def main():
    x = int(input())
    if x in [3, 5, 7]:
        ans = 'YES'
    else:
        ans = 'NO'
    print(ans)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
x=input()
print(["NO","YES"][x in "357"])

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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()not in'357'::2])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A - 753
x=int(input())
if x==7 or x==5 or x==3:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input())
if n 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:
i=int(input())
if(i==7 or i==5 or i==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:
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:
x = int(input())
cel = [7, 5, 3]
if x in cel:
    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 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:
x = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

X = int(input().strip())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=int(input())

check = [3,5,7]

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

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#114_A
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 == 3 or x == 5 or x == 7:
	print ("YES")
else:
	print ("NO")

Submission status: Accepted

Solution code:
X = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

if X % 2 == 1 and 3 <= X <= 7:
  print('YES')
else:
  print('NO')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x=int(input())
for i in '753':
    if x==int(i):
        print('YES')
        exit()

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
def main():
    X = int(input())
    print("YES" if X in {7, 5, 3} else "NO")


if __name__ == '__main__':
    main()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())
if N == 3 or N == 5 or N == 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=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:
import sys
def input(): return sys.stdin.readline().rstrip()

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

if X in anniversary:
    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())

print("YES" if X in [7, 5, 3] 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:
import sys
 
stdin = sys.stdin
 
ni = lambda: int(ns())
nin = lambda x: [ni() for _ in range(x)]
na = lambda: list(map(int, stdin.readline().split()))
nan = lambda x: [na() for _ in range(x)]
ns = lambda: stdin.readline().rstrip()
nas = lambda: stdin.readline().split()

x = ni()
flag = False
for i in range(3, 8, 2):
    if x == i:
        flag = True

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

Submission status: Accepted

Solution code:
x = int(input())
r = {3, 5, 7}
if x in r:
    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:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-


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


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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X=int(input())

if (X%2==1)and(not(X==1))and(not(X==9)):
    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 in (7,5,3):
  print("YES")
else:
  print("NO")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
s = int(input())
if s in [3,5,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:
def main():
    X = int(input())
    if 105 % X == 0 and X > 1:
        print("YES")
    else:
        print("NO")


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
X = int(input())

print( "YES" if X%2 == 1 and X != 1 and X != 9 else "NO")

Submission status: Accepted

Solution code:
import sys
import math
import itertools

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

INPUT = lambda: sys.stdin.readline().rstrip()
INT = lambda: int(INPUT())

sys.setrecursionlimit(10 ** 9)


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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = input()

b = N in ["3","5","7"]

if b:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

Solution code:
"""
author : halo2halo
date : 16, Jan, 2020
"""

import sys
# import numpy as np

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10 ** 7)

N = int(readline())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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