TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: _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?

Submission attempts (in order):
y=int(input())
if y==3:
  print('Yes')
elif y==5:
  print('Yes')
elif y==7:
  print('Yes')
else:
  print('No')

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())
if X = 3:
  print("YES")
elif X = 5:
  print("YES")
elif X = 7:
  print("YES")
else:
  print("NO")

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

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
print("Yes" if int(input()) in [7,5,3] else "No")

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
a=int(input())
if a == 3 or a == 5 or a == 7:
  print('Yes')
else:
  print('No')

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x=int(input())
if x==(7 or 5 or 3):
    print('YES')

else:
    print('NO')


x=int(input())
if x==(7 or 5 or 3):
    print('YES')

else:
    print('NO')


x=int(input())
if x==7 or x==5 or x==3:
    print('YES')

else:
    print('NO')


Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
#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;
    }
}

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

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
x = input()
x = int(x)
if x = 7 or x = 5 or x = 3:
  print('YES')
else:
  print('NO')

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


Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
if int(input()) in [7,5,3]:
    print('Yes')
else:
    print('No')

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x = input()
if x == 7 or x == 5 or x == 3:
    print("YES")
else:
    print("NO")

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X=input()
ans='NO'
if X==3 or X==5 or X==7 :
    ans="YES"
print(ans)


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


Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
n = int(input())
ans = "No"
if n == 3 or n == 5 or n == 7:
    ans = "Yes"
print(ans)

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


Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())
L = [3, 5, 7]
if X in L:
    print("Yes")
else:
    print("No")

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
a=int(input())

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

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

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input())

if (x / 7 <= 1 and x % 7 == 0)  or (x / 5<= 1 and x % 5 == 0) or (x / 3 <= 1 and x % 3 == 0):
    print("Yes")
else:
    print("No")


x = int(input())

if (x / 7 <= 1 and x % 7 == 0)  or (x / 5<= 1 and x % 5 == 0) or (x / 3 <= 1 and x % 3 == 0):
    print("YES")
else:
    print("NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())
if X==3 or X==5 or X==6:print("YES")
  else:print("NO")

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

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
S = int(input())
if S==3 or S==5 or S==7:
  print('Yes')
else:
  print('No')

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
1<=X<=9
X=int(input("age"))
if X=3 or X=5 or X=7:
  print("Yes")
else:
  print("No")


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

X = int(input())

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

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

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

X = int(input())

if X<=0 or 10<=X:
  print("error")
  
elif X==3 or X==5 or X==7:
  print("Yes")
  
else:
  print("No")

X = int(input())

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

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

x = int(input())

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

else :
    print("NO")

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Wrong Answer

Wrong Answer

Wrong Answer

Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input())
y = [3,5,7]
print("Yes" if x in y else "No")

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x = input()

if x in range(1, 9) and x in (7, 5, 3):
    print('YES')
else:
    print('NO')


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


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


def check753(self):
    if self in range(1, 9) and self in (7, 5, 3):
        print('YES')
    else:
        print('NO')

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


Verdicts: Wrong Answer

Wrong Answer

Runtime Error

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input())
print('Yes' if x == 7 or x == 5 or x == 3 else 'No')

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


Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
a= int(input())

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

a= int(input())

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
print("YNEOS"[1-input()in'357'::2])

print(" YNEOS"[input()in'357'::2])

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
N = ini(input())

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

N = int(input())

print(["NO", "YES"][N == 3 or N == 7 or N == 5])

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
# -*- coding: utf-8 -*-
"""
Created on Sun Dec  2 20:06:38 2018

@author: Owner
"""

import collections
import scipy.misc
import sys
import numpy as np
import math
from operator import itemgetter

def prime_decomposition(n):
  i = 2
  table = []
  while i * i <= n:
    while n % i == 0:
      n /= i
      table.append(int(i))
    i += 1
  if n > 1:
    table.append(int(n))
  return table   

"""
N, X = map(int, input().split())

x = [0]*N
x[:] = map(int, input().split())

P = [0]*M
Y = [0]*M
for m in range(M):
    P[m], Y[m] = map(int, input().split())
"""

X = input()

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

# -*- coding: utf-8 -*-
"""
Created on Sun Dec  2 20:06:38 2018

@author: Owner
"""

import collections
import scipy.misc
import sys
import numpy as np
import math
from operator import itemgetter

def prime_decomposition(n):
  i = 2
  table = []
  while i * i <= n:
    while n % i == 0:
      n /= i
      table.append(int(i))
    i += 1
  if n > 1:
    table.append(int(n))
  return table   

"""
N, X = map(int, input().split())

x = [0]*N
x[:] = map(int, input().split())

P = [0]*M
Y = [0]*M
for m in range(M):
    P[m], Y[m] = map(int, input().split())
"""

X = int(input())

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
from itertools import product

n = input()

if int(n) < 100:
    print(0)
    
ans = 0
    
for i in range(3,len(n)+1):
    s = list(product("753",repeat=i))
    for combi in s:
        n_s = "".join(combi)
        if int(n_s) >= int(n):
            continue
        if ("7" in combi) and ("5" in combi) and ("3" in combi):
            ans += 1
    
print(ans)


x = int(input())

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
a = int(input())
if a == 3 | a == 5 | a == 7:
  print('YES')
else:
  Print('NO')  

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

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

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())
if X == 7 or X == 5 or X == 3:
    print("Yes")
else:
    print("No")


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


Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
o=int(input())

if o==3 or o==5 or o==7 :
    print("Yes")
else :
    print("No")
    

o=int(input())

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())
if X == 3 or X == 5 or X == 7:
  print('Yes')
else:
  print('No')

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


Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
print("YES"if int(input())==(3 or 5 or 7)else"NO")

s=[3,5,7]
print("YES"if s.count(int(input()))>0 else"NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
n=int(input())
d=dict()
for m in range(1,n+1):
    while m>1:
        for i in range(2,int(m**0.5)+1):
            if m%i==0:break
        else:i=m
        d[i]=d.get(i,0)+1
        m/=i
def num(n):
    return len(list(filter(lambda x:x>=n,d.values())))

print(num(74)+ num(24)*(num(2)-1)+ num(14)*(num(4)-1)+ num(4)*(num(4)-1)*(num(2)-2)//2)

x = int(input())
y = x
a = []
while y:
    a.append(y%10)
    y = y//10
a.reverse()
if len(a)<=3:
    print(abs(x-753))
else:
    ans = 1000000
    ll = len(a)
    for i in  range(0,ll-2):
        ans=min(ans,abs(a[i]*100+a[i+1]*10+a[i+2]-753))
        #print(a[i]*100+a[i+1]*10+a[i+2])
    print(ans)

n = int(input())
a = []

def judge(x):
    y = x
    for i in range(2,x):
        kk = y % i
        if i*i > x:
            return 1
        if kk == 0:
            return 0
    return 1

def solve(prime,x):
    cnt = 0
    while x:
        cnt += x//prime
        x //= prime
    return cnt

for i in range(2,n):
    if judge(i):
        a.append(i)
ans = 0
if n <= 3:
    ans = 0
else:
    ll = len(a)
    a2 = 0
    a4 = 0
    a14 = 0
    a24 = 0
    a74 = 0
    for i in range(ll):
        kk = solve(a[i],n)
        if kk >=2:
            a2 += 1
        if kk >=4:
            a4 += 1
        if kk >=14:
            a14 += 1
        if kk >=24:
            a24 += 1
        if kk >=74:
            a74 += 1
    print(a4*(a4-1)//2*(a2-2)+a14*(a4-1)+a24*(a2-1)+a74)

n = int(input())
a = []

def judge(x):
    y = x
    for i in range(2,x):
        kk = y % i
        if i*i > x:
            return 1
        if kk == 0:
            return 0
    return 1

def solve(prime,x):
    cnt = 0
    while x:
        cnt += x//prime
        x //= prime
    return cnt

for i in range(2,n):
    if judge(i):
        a.append(i)
ans = 0
if n < 3:
    ans = 0
else:
    ll = len(a)
    a2 = 0
    a4 = 0
    a14 = 0
    a24 = 0
    a74 = 0
    for i in range(ll):
        kk = solve(a[i],n)
        if kk >=2:
            a2 += 1
        if kk >=4:
            a4 += 1
        if kk >=14:
            a14 += 1
        if kk >=24:
            a24 += 1
        if kk >=74:
            a74 += 1
    print(a4*(a4-1)//2*(a2-2)+a14*(a4-1)+a24*(a2-1)+a74)

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

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x=input();print(["NO","YES"][x in ["3","5","7"])

print(["NO","YES"][input()in["357"]])

print(["NO","YES"][input()in"357"])

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
#n = int(input())
#n,k = map(int,input().split())
#x = list(map(int,input().split()))


x = int(input())

if x==7 or x==5 or x==3:
    print("Yes")
else:
    print("No")

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = input()

print("Yes" if (X in "753") else "NO")



X = input()

print("YES" if (X in "753") else "NO")



Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
#coding:utf-8

S = input()

minimal_value = 10000
for i in range(len(S) - 2):
    candidate = int(S[i:i + 3])
    minimal_value = min(abs(753 - candidate), minimal_value)

print(minimal_value)


#coding:utf-8

N = input()

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


Verdicts: Wrong Answer

Accepted
Problem: _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?

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

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

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
S = input()
mi = 9999999
for i in range(len(S) - 2):
  mi = min(mi, abs(753 - int(S[i]+S[i+1]+S[i+2])))
print(mi)

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())

if X==3 or X==5 or X==7:
    print('Yes')
else:
    print('No')

X = int(input())

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
N = int(input())
if N == 3 or N == 5 or N == 7:
    print("Yes")
else:
    print("No")

print(N)


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

print(N)


N = input()
if N==3 or N==5 or N==7:
    print("Yes")
else:
    print("No")


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


Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X=int(input())
print('Yes' if X==7 or X==5 or X==3 else 'No')

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x=input()
if x==7 or x==5 or x==3:
    print('YES')
else:
    print('NO')

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X=int(input())
if X==7 or X==5 or X==3:
    print("Yes")
else:
    print("No")

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

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

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
n = int(input())
if n == 7 or n == 5 or n==3:
  print('YES')
else
  print('NO')

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

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):

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

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

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
takahashi_kun = X

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

X = int(input())

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

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
N = int(input())
if N==3 || N==5 || N==7:
  print "YES"
else:
  print"NO"

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

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())

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

X = int(input())

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x=int(input())
if x==3 or x==5 or x==7:
  print('Yes')
else:
  print('No')

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


Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())
if X == 7 or X == 5 or X == 3:
  print('Yes')
else:
  print('No')

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
input = raw_input()

if(input>9):
    print("error")
elif(input == 3 or input == 5 or input == 7):
    print("YES")
else:
    print("NO")


inp = input()

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

Verdicts: Runtime Error

Accepted
Problem: _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?

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

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

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
X = input()
if X in (7,5,3):
    print('YES')
else:
    print('NO')

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

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

X = int(input())

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

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input(N))
if X == 7 or X == 5 or X == 3:
  print('YES')
else:
  print('NO')

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

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
x=int(input())

if x==7 or x==5 or x==3:
  print("Yes")
else:
  print("No")

x=int(input())

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())
if x==3 or x==5 or x==7:
  print("YES")
else:
  print("NO")

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

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
x=int(input())
if x==7 or x==5 or x==3:
  print('Yes')
else:
  print('No')

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


Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x=input()
["NO","YES"][x=="3" or x=="5" or x=="7"]

s=input()
ans=999
for i in range(len(s)-2):
  ans=min(abs(753-int(s[i:i+3])),ans)
print(ans)

x=input()
print(["NO","YES"][x=="3" or x=="5" or x=="7"])

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: _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?

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

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

Verdicts: Runtime Error

Accepted
Problem: _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?

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

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

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input())
if x == 5 or x == 7 or x == 3:
    print('Yes')
else:
    print('No')

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input())
if any(x==3,x==5,x==7):
  print("YES")
else:
  print("NO")
  

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

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input())
li753 = [7,5,3]

if x in li753:
    ans = "YeS"
else:
    ans = "NO"

print(ans)

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

if x in li753:
    ans = "YES"
else:
    ans = "NO"

print(ans)

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
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')

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

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
x=int(input())
if x=3 or x=5 or x=7:
  print('YES')
else:
  print('NO')

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


Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
def main():
    X = input()
    if X == 3 or X == 5 or X == 7:
        print("YES")
    else:
        print("NO")


if __name__ == "__main__":
    main()


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


if __name__ == "__main__":
    main()


Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input())
if x = 3,5,7:
  print("YES")
else:
  print("NO")

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

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

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: _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?

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


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


Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())

if X in [7, 5, 3]:
    print("Yes")
else:
    print("No")

X = int(input())

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input())
if X==7 or X==5 or X==3:
    print("YES")
else:
    print("NO")

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

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
if int(input()) in [7,5,3]:
    print("Yes")
else:
    print("No")

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())
c = [7, 5, 3]
if X in c:
    print('Yes')
else:
    print('No')


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


Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
str1 = input()

len1 = len(str1)
diff = 999

for x in range (len1-2):
    num = int(str1[x:x+3])
    if abs(num-753) <diff:
        diff = abs(num-753)
print (diff)

n = int (input())

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


Verdicts: Wrong Answer

Accepted
Problem: _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?

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

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

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
q = input()
x=100000
for i in range(len(q) - 2):
	y = abs(int(q[i:i+3]) - 753)
	if x > y :
		x = y
		
print(y)

q = input('>')

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

q = input()
x=100000
for i in range(len(q) - 2):
	y = abs(int(q[i:i+3]) - 753)
	if x > y :
		x = y
		
print(y)

q = input()

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

Verdicts: Runtime Error

Wrong Answer

Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input())

if x > 5:
  print("YES")
else:
  print("NO")


x = int(input())

if x > 5:
  print("YES")
else:
    print("NO")

X = int(input())

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


Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
s = input()
n = len(s)
base = int(s)
for i in range(n-2):
    ans = int(s[i])*100 + int(s[i+1])*10 + int(s[i+2])
    if abs(753-base) > abs(753 - ans):
        base = ans
        print(base)
print(abs(753-base))

s = input()
n = len(s)
base = int(s)
for i in range(n-2):
    ans = int(s[i])*100 + int(s[i+1])*10 + int(s[i+2])
    if abs(753-base) > abs(753 - ans):
        base = ans
print(abs(753-base))

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

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input('age'))
if x ==3 or x== 5 or x == 7:
  print("YES")
else:
  print('NO')


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


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


Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: _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?

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

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

X=int(input())
if X==3 or X==5 or X==7:
    print('yes')
else:
    print('no')

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

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
a = input()
a = int(a)

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


a = input()
a = int(a)

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


Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
s = input()
num = 9999
for i in range(len(s)-2):
  num = min(num, abs(int(s[i:i+3])-753))
print(num)

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input())

if x in [3, 5, 7]:
    print('Yes')
else:
    print('No')

x = int(input())

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

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
# encoding: utf-8
N = int(input())
if N == 7 or N == 5 or N == 3: print("Yes")
else: print("NO")

# encoding: utf-8
N = int(input())
if N == 7 or N == 5 or N == 3: print("YES") 
else: print("NO")


Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
def main():
    x = int(input())
    ans = "NO"
    if (x == 7 or x == 5 or x == 3):
        ans = "YES"

    print(ans)


if __name__ == '__main__':
    main()


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

    print(ans)

if __name__ == '__main__':
    main()

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input())
print('YES' if x == 3 and x == 5 and x == 7 else 'NO')

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

Verdicts: Wrong Answer

Accepted