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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

else:
    print('NO')

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

Solution code:
print("YNEOS"[~input()in"357"%2::2]

Submission status: Runtime Error

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

a = int(input())
a, b = list(map(int, input().split()))
a = list(str(input()))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
age = int(input())

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

Submission status: Runtime Error

Solution code:
#include <stdio.h>

int main() {
  int X;
  scanf("%d", &X);
  
  if (X == 3) {
    printf("YES");
  } else if (X == 5) {
    printf("YES");
  } else if (X == 7) {
    printf("YES");
  } else {
    printf("NO");
  }
  
  return 0;
  
}

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
age = int(input())

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

Submission status: Runtime Error

Solution code:
x = input()

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

Solution code:
A=int(intput())
print('Yes' if A in list(range(3,8,2)) else 'No')

Submission status: Runtime Error

Solution code:
print("YNEOS"[1-input()in"357"::2])

Submission status: Runtime Error

Solution code:
print("YES"if input()in"357"else"NO")
print("YNEOS"[1-input()in"357"::2])

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x=int(input())

if x==3||x==5||x==7:
  print("YES"+"\n")
else:
  print("NO"+"\n")

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
    print("NO")

Submission status: Runtime Error

Solution code:
x = int(imput())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

for i in range(3):
    if x == lis[i]:
        print("Yes")
    else:
        print("No")

Submission status: Runtime Error

Solution code:
str=str(input())
a=[]
for i in range(0,len(str)-2):
    t=int(str[i]+str[i+1]+str[i+2])
    a.append(abs(753-t))
print(min(a))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
S = input()
min = 999
for i in range(len(S)-2):
  if min > abs(int(S[i:i+3])-753):
    min = abs(int(S[i:i+3]-753)
    
print(min)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#include<bits/stdc++.h>
using namespace std;
int main()
{
  int n;
  cin>>n;
  if(n==7 || n==5 || n==3)
  cout<<"YES";
  else
  cout<<"NO";
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#include<iostream>
#include<string>
#include<vector>
#include<algorithm>
#include<map>
#include<set>
#include<cstdio>
#include<cmath>
#include<deque>
#include<numeric>
#include<queue>
#include<stack>
#include<cstring>
#include<limits>
#include<functional>
#include<unordered_set>
#include<iomanip>
#include<cassert>
#include<regex>
#include<bitset>
#include<complex>
#include<chrono>
#define rep(i,a) for(int i=(int)0;i<(int)a;++i)
#define pb push_back
#define eb emplace_back
#define all(x) x.begin(),x.end()
using ll=long long;
constexpr ll mod = 1e9 + 7;
constexpr ll INF = 1LL << 60;

ll gcd(ll n, ll m) {
	ll tmp;
	while (m!=0) {
		tmp = n % m;
		n = m;
		m = tmp;
	}
	return n;
}

ll lcm(ll n, ll m) {
	return abs(n * m) / gcd(n, m);//gl=xy
}
 
template<class T> inline bool chmin(T& a, T b) {
    if (a > b) {
        a = b;
        return true;
    }
    return false;
}
template<class T> inline bool chmax(T& a, T b) {
    if (a < b) {
        a = b;
        return true;
    }
    return false;
}
 
using namespace std;

//ここから
void solve(){
  int x;
  cin>>x;
  if(x==7||x==5||x==3)cout<<"YES";
  else cout<<"NO";
}

int main(){
	ios::sync_with_stdio(false);
  cin.tie(0);
	//cout<<fixed<<setprecision(15);
  solve();
	return 0;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
X = int(input())

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

Submission status: Runtime Error

Solution code:
s = input()
koho = []
for i in range(len(s)-2):
    S = int(s[i:i+3])
    sa = abs(S - 753)
    koho.append(sa)
print(min(koho))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
using namespace std;
 
int main() {
    int x;
    cin >> x;
    string ans;
    if(x == 7 || x == 5 || x == 3){
        ans = "YES";
    }else{
        ans = "NO";
    }
    cout << ans << endl;
}

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

Solution code:
x = input()
 
if x in "753":
  print("Yes")
else:
  print("No"

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
X-input()
if x in "753";
    print("YES")
else;
    print("NO")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x=int(iput())
if x==3 or x==5 or x==7:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x = input()

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

Submission status: Runtime Error

Solution code:
def sft(n, num, add):
    int_sft = int(num+add)
    if int_sft > n:
        return True
    else:
        l.append(int_sft)
        sft(n, num+add, "3")
        sft(n, num+add, "5")
        sft(n, num+add, "7")

n = int(input())
sft(n, "", "3")
sft(n, "", "5")
sft(n, "", "7")
le = []
for i in range(len(l)):
    c3 = str(l[i]).count("3")
    c5 = str(l[i]).count("5")
    c7 = str(l[i]).count("7")
    if c3 > 0 and c5 > 0 and c7 > 0:
        le.append(l[i])
print(len(list(set(le))))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n=int(input())

def dfs(s):
  if n<int(s) : return 0
  res = if all(s.count(c)>0 for c in "753") : 1 else 0
  for i in "753":
    res += dfs(s+i)
  return res

print(dfs("0"))

Submission status: Runtime Error

Solution code:
#include<bits/stdc++.h>
#define rep(i, n) for(int i=0;i<(n);++i)
#define per(i, n) for(int i=(n)-1;i>=0;--i)
#define repa(i, n) for(int i=1;i<(n);++i)
#define foreach(i, n) for(auto &i:(n))
#define pii pair<int, int>
#define pll pair<long long, long long>
#define all(x) (x).begin(), (x).end()
#define bit(x) (1ll << (x))
using ll = long long;
//const ll MOD = (ll)1e9+7;
const ll MOD = 998244353;
const int INF = (ll)1e9+7;
const ll INFLL = (ll)1e18;
using namespace std;
template<class t>
using vvector = vector<vector<t>>;
template<class t>
using vvvector = vector<vector<vector<t>>>;
template<class t>
using priority_queuer = priority_queue<t, vector<t>, greater<t>>;
template<class t, class u> bool chmax(t &a, u b){if(a<b){a=b;return true;}return false;}
template<class t, class u> bool chmin(t &a, u b){if(a>b){a=b;return true;}return false;}

#ifdef DEBUG
#define OUTPUT(x) (output(x), output("\n"))
#else
#define OUTPUT(x) (void)0
#endif

ll modpow(ll x, ll b){
	ll res = 1;
	while(b){
		if(b&1)res = res * x % MOD;
		x = x * x % MOD;
		b>>=1;
	}
	return res;
}

ll modinv(ll x){
	return modpow(x, MOD-2);
}

bool was_output = false;
template<class t>
void output(t a){
	if(was_output)cout << " ";
	cout << a;
	was_output = true;
}
void outendl(){
	was_output = false;
	cout << endl;
}

int main(){
	int n;
	cin >> n;
	switch(n){
		case 3:
		case 5:
		case 7:
			cout << "YES" << endl;
			break;
		default:
			cout << "NO" << endl;
			break;
	}
	return 0;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n=int(input())
def dfs(s):
    if int(s)>n:
        return 0 
    if all(s.count(i) for i in '753'):
        ans=1
    else:
        ans=0
    for i in '753':
        ans+=dfs(s+i)
    return ans
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

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

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


if __name__ == '__main__' :
    main()

Submission status: Runtime Error

Solution code:
X = int(input())

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

Submission status: Runtime Error

Solution code:
S = input()
print(min((abs(753 - int(S[i:i+3])) for i in range(len(S)-2))))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
main :: IO()
main = do
    x <- (read ::[Char]->Int) <$> getLine 
    putStrLn $ if x == 3 || x== 5 || x == 7 then "YES" else "NO"

Submission status: Runtime Error

Solution code:
a = int(input())

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

Submission status: Runtime Error

Solution code:
s=input()

print(min([abs(int(s[i]+s[i+1]+s[i+2])-753) for i in range(len(s)-3)]))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
S = input()
l = []
for i in range(len(S) - 2):
    num = abs(int(S[i:i+3]) - 753)
    l.append(num)
print(min(l))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x=int(input())
if x==7 or x==5 or x==3:
    print(Yes)
else:
    print(No)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n=[int(input()) for i in range(int(input()))]
print(sum(n) - max(n)//2)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
S=input()
ans=10**9
 for i in range(len(S)-2):
     ans=min(ans,abs(753=int(S[i:i+3])))
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
def age_check(age):
  if age ==3:
    print('YES')
  else age == 5:
    print('YES')
  else age == 7:
    print('YES')
  else:
    print('NO')

age = input()

age_check(age)

Submission status: Runtime Error

Solution code:
def age_check(age):
    if age ==3:
        print('YES')
    else age == 5:
        print('YES')
    else age == 7:
        print('YES')
    else:
        print('NO')

age = input()

age_check(age)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a=int(input())

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

Submission status: Runtime Error

Solution code:
S= input()
if S==3 or S==5 or S==7:
  print(Yes)
else:
  print(No)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
X = input()

result = False
try:
  X = int(X)
except:
  X = -1
  
  
if X in (3, 5, 7):
  return "YES"
return "NO"

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x=int(input())

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

Submission status: Runtime Error

Solution code:
x=int(input())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

Solution code:
S=input()
print(min(abs(int(S[i:i+3])-753) for i in range(len(S)-2)))

Submission status: Runtime Error

Solution code:
S=input()
print(min([abs(int(S[i:i+3])-753) for i in range(len(S)-2)]))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
s = input()

x = []
for i in range(len(s) - 2):
    x.append(abs(int(s[i:i+3]) - 753))
    
print(min(x))

Submission status: Runtime Error

Solution code:
X = int(input())

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

Submission status: Runtime Error

Solution code:
n = int(input())

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

Submission status: Runtime Error

Solution code:
#include<bits/stdc++.h>
using namespace std;

int main(){
    int X;
    cin >> X;
    if ((X == 3) || (X == 5) || (X == 7)){
        cout << "YES" << endl;
    }else {
        cout << "NO" << endl;
    }
}

Submission status: Runtime Error

Solution code:
s=list(map(str,input()))
#print(s)
s_3=[]
for i in range(len(s)-2):
  a=''.join(s[i:(i+3)])
  #print(a)
  s_3.append(abs(int(a)-753))
print(min(s_3))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
age = int(input())
shichigosanAges = {3, 5, 7}
print(age in shichigosanAges ? "YES" : "NO")

Submission status: Runtime Error

Solution code:

x = input()

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

Submission status: Runtime Error

Solution code:
s=input()
l=[]
for i in range(len(s)-2):
  l.append(abs(753-int(s[i:i+3])))
print(min(l))

Submission status: Runtime Error

Solution code:
year = int(input())

if year < 1 or 9 < year:
    raise ValueError
elif year is in [3, 5, 7]:
    print('YES')
else:
    print('NO')

Submission status: Runtime Error

Solution code:
import numpy as np
#s = "1234567"
s = input()
#print(len(s))

ss = []

for i in range(len(s)-2):
    #print(s[i:i+3])
    ss.append(int(s[i:i+3]))

ss = np.array(ss)
print(np.abs((ss - 753)).min())

Submission status: Runtime Error

Solution code:
import numpy as np
#s = "1234567"
s = input()
#print(len(s))

ss = []

for i in range(len(s)-2):
    #print(s[i:i+3])
    ss.append(int(s[i:i+3]))

ss = np.array(ss)
print((ss - 753).max())

Submission status: Runtime Error

Solution code:
import numpy as np
#s = "1234567"
s = input()
#print(len(s))

ss = []

for i in range(len(s)-2):
    print(s[i:i+3])
    ss.append(int(s[i:i+3]))

ss = np.array(ss)
print((ss - 753).max())

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x = input()

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

Solution code:
X = int(input())

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

Submission status: Runtime Error

Solution code:
num = input()
li = []

for i in range(len(num) - 2):
  li.append(abs(int(num[i]) * 100 + int(num[i+1]) * 10 + int(num[i+2]) - 753))

print(min(li))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
ソースコード 

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
X = int(input())

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

Submission status: Runtime Error

Solution code:
takahashi_kun = X

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
if(X==3||X==5||X==7)
    print("yes")
else
    print("no")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = int.input()

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

Submission status: Runtime Error

Solution code:
s = input()
nlen = len(s)
a = min([abs(int(s[i:i+3])-753) for i in range(nlen-2+1)])
print(a)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:

X=int(input("age"))
if X=3 or X=5 or X=7:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
1<=X<=9
X=int(input("age"))
if X=3 or X=5 or X=7:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
1<=X<=9
X=input("age")
if X=3 or X=5 or X=7:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
X=input("年齢を1から9歳までで入力してください")
if X=3 or X=5 or X=7:
	print("Yes")
    
else:
  print("No")