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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import bisect, collections, copy, heapq, itertools, math, string, sys
input = lambda: sys.stdin.readline().rstrip() 
sys.setrecursionlimit(10**7)
INF = float('inf')
def I(): return int(input())
def F(): return float(input())
def SS(): return input()
def LI(): return [int(x) for x in input().split()]
def LI_(): return [int(x)-1 for x in input().split()]
def LF(): return [float(x) for x in input().split()]
def LSS(): return input().split()

def resolve():
    X = I()

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

if __name__ == '__main__':
    resolve()

Submission status: Accepted

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

# A - 753 /
# 実行時間制限: 2 sec / メモリ制限: 1024 MB
# 配点 : 100点

# 問題文
# 七五三とは、7歳、5 歳そして 3歳の子どもの成長を祝うとある国の行事です。
# いま、高橋くんは X歳です。今回の七五三で、高橋くんの成長は祝われるでしょうか？

# 制約
#     1≤X≤9
#     Xは整数である。

# 入力
# 入力は以下の形式で標準入力から与えられる。
# X


# 出力
# 高橋くんの成長が祝われるなら YES, 祝われないなら NO と出力せよ。

# 入力例 1
# 5

# 出力例 1
# YES

# 5歳の子どもの成長は祝われます。

# 入力例 2
# 6

# 出力例 2
# NO

# また来年。


def calculation(lines):
    X = int(lines[0])
    # N, M = list(map(int, lines[0].split()))
    if X in [3, 5, 7]:
        return ['YES']
    else:
        return ['NO']


# 引数を取得
def get_input_lines(lines_count):
    lines = list()
    for _ in range(lines_count):
        lines.append(input())
    return lines


# テストデータ
def get_testdata(pattern):
    if pattern == 1:
        lines_input = ['5']
        lines_export = ['YES']
    if pattern == 2:
        lines_input = ['6']
        lines_export = ['NO']
    return lines_input, lines_export


# 動作モード判別
def get_mode():
    import sys
    args = sys.argv
    if len(args) == 1:
        mode = 0
    else:
        mode = int(args[1])
    return mode


# 主処理
def main():
    import time
    started = time.time()
    mode = get_mode()
    if mode == 0:
        lines_input = get_input_lines(1)
    else:
        lines_input, lines_export = get_testdata(mode)

    lines_result = calculation(lines_input)

    for line_result in lines_result:
        print(line_result)

    # if mode > 0:
    #     print(f'lines_input=[{lines_input}]')
    #     print(f'lines_export=[{lines_export}]')
    #     print(f'lines_result=[{lines_result}]')
    #     if lines_result == lines_export:
    #         print('OK')
    #     else:
    #         print('NG')
    # finished = time.time()
    # duration = finished - started
    # print(f'duration=[{duration}]')


# 起動処理
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=input()
print("YES" if X in "753" else "NO")

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
x = int(input())
if [7,5,3].count(x) > 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:
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:
def main():
    x = int(input())
    ans = "NO"
    if x == 7 or x == 5 or x == 3:
        ans = "YES"

    print(ans)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10**8)
def ii(): return int(sys.stdin.readline())
def mi(): return map(int, sys.stdin.readline().split())
def li(): return list(map(int, sys.stdin.readline().split()))
def li2(N): return [list(map(int, sys.stdin.readline().split())) for _ in range(N)]
def dp2(ini, i, j): return [[ini]*i for _ in range(j)]
#import bisect #bisect.bisect_left(B, a)
from collections import defaultdict #d = defaultdict(int) d[key] += value
#from collections import Counter # a = Counter(A).most_common()
#from itertools import accumulate #list(accumulate(A))
'''
def f(n):
    if n % 2:
        return 3 * n + 1
    else:
        return n // 2

s = ii()
d = defaultdict(int)
d[s] = 1

while True:
    if d[f(x)] == 1:
        print()
    d[f(x)] += 1
    x = f(x)
'''

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

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10**7)
input = sys.stdin.readline

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
歳 = int(input())
print("YES" if 歳 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:
print(input() in "753" and "YES" or "NO")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# 初期入力
import sys
input = sys.stdin.readline  #文字列では使わない
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 == 7 or x == 5:
  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())
print('YES' if x==3 or x==5 or x==7 else 'NO')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import math
import itertools
import bisect
from copy import copy
from collections import deque,Counter
from decimal import Decimal
import functools
def s(): return input()
def k(): return int(input())
def S(): return input().split()
def I(): return map(int,input().split())
def X(): return list(input())
def L(): return list(input().split())
def l(): return list(map(int,input().split()))
def lcm(a,b): return a*b//math.gcd(a,b)
sys.setrecursionlimit(10 ** 9)
mod = 10**9+7
cnt = 1
ans = 0
inf = float("inf")

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

Submission status: Accepted

Solution code:
import sys
X = int(input())
if not ( 1 <= X <= 9 ): sys.exit()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
t = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X=input()

if X in "357":
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
import sys

rr = lambda: sys.stdin.readline().rstrip()

print('YES' if rr() in '357' else 'NO')

Submission status: Accepted

Solution code:
import sys

ri = lambda: int(sys.stdin.readline())

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

Submission status: Accepted

Solution code:
import sys

ri = lambda: int(sys.stdin.readline())

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

Submission status: Accepted

Solution code:
print 'YES' if raw_input() in '753' else 'NO'

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A = [7,5,3]
n = int(input())

if n in A:
  print("YES")
else:
  print("NO")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#import sys
#import numpy as np
import math
#from fractions import Fraction
import itertools
from collections import deque
from collections import Counter
#import heapq
#from fractions  import gcd
#input=sys.stdin.readline
#import bisect
n=int(input())
if n==7 or n==5 or n==3:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
# a, b = map(int, input().split())
n = int(input())
print("YES" if n==3 or n==5 or n==7 else "NO")

Submission status: Accepted

Solution code:
def ya(boo):
  if boo:
    print("Yes")
  else:
    print("No")
def yay(boo):
  if boo:
    print("YES")
  else:
    print("NO")
yay(input() in "753")

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("YNEOS"[~(input()in"357")%2::2])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())
if N == 1:
    print("NO")
elif 105 % N == 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:
X=input()

if X in ["3","5","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 "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==3) or (X==5) or (X==7):
    print("YES")

else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())

Y = set([7,5,3])

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

x = int(input())
g = [7, 5, 3]

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

Submission status: Accepted

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


if __name__ == '__main__':
    solve()

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import math
import itertools
from copy import copy
from collections import deque,Counter
from decimal import Decimal
def s(): return input()
def i(): return int(input())
def S(): return input().split()
def I(): return map(int,input().split())
def L(): return list(input().split())
def l(): return list(map(int,input().split()))
def lcm(a,b): return a*b//math.gcd(a,b)
sys.setrecursionlimit(10 ** 9)
mod = 10**9+7

X = i()
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 (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:
n=int(input())
if n==7 or n==5 or n==3:

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

Submission status: Accepted

Solution code:
s=int(input());print('YES'*(2<s%2*s<8)or'NO')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())
if x == 7 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())
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:
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 105%X == 0 and X != 1 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:
N = input()
if N in ['7','5','3']:
    print('YES')
else:
    print('NO')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print('YNEOS'[input() not in '753'::2])

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

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

    print(ans)

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

Submission status: Accepted

Solution code:
x = input()
if x in '357':
    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());print('YNEOS'[not(x==3 or x==5 or x==7)::2])

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = input()
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:
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 = [7,5,3]

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

x=int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

    print(ans)

if __name__ == '__main__':
    main()

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:
n = int(input())
flag = False
if n == 7:
    flag = True
if n == 5:
    flag = True
if n == 3:
    flag = True
if( flag ):
    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())

s = [3,5,7]

if n in s:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

    print(ans)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#!/usr/bin/env pypy3
def main():
    x = int(input())
    ans = "NO"
    if (x == 7 or x == 5 or x == 3):
        ans = "YES"

    print(ans)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
def main():
    x = int(input())
    ans = "NO"
    if (x == 7 or x == 5 or x == 3):
        ans = "YES"

    print(ans)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
year=int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# Python3 (3.4.3)
import sys
input = sys.stdin.readline

# -------------------------------------------------------------
# function
# -------------------------------------------------------------


# -------------------------------------------------------------
# main
# -------------------------------------------------------------
X = input().rstrip()

print("YES" if X in "753" 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())
if n in {7,5,3}:
  print("YES")
else:
  print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print("NYOE S"[input()in'357'::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:
import sys, re
from math import ceil, floor, sqrt, pi, factorial#, gcd
from copy import deepcopy
from collections import Counter, deque
from heapq import heapify, heappop, heappush
from itertools import accumulate, product, combinations, combinations_with_replacement
from bisect import bisect, bisect_left
from functools import reduce
# input = sys.stdin.readline 
def i_input(): return int(input())
def i_map(): return map(int, input().split())
def i_list(): return list(i_map())
def i_row(N): return [i_input() for _ in range(N)]
def i_row_list(N): return [i_list() for _ in range(N)]
def s_input(): return input()
def s_map(): return input().split()
def s_list(): return list(s_map())
def s_row(N): return [s_input for _ in range(N)]
def s_row_list(N): return [s_list() for _ in range(N)]
def Yes(): print('Yes')
def No(): print('No')
def YES(): print('YES')
def NO(): print('NO')
def lcm(a, b): return a * b // gcd(a, b)
sys.setrecursionlimit(10 ** 6)
INF = float('inf')
MOD = 10 ** 9 + 7

def main():
    n = i_input()
    if n == 3 or n == 5 or n == 7:
        YES()
    else:
        NO()

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
X = input()
if X in '753':
  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")