TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: In some other world, today is Christmas.  Mr. Takaha decides to make a multi-dimensional burger in his party. A _level- L burger_ (L is an integer greater than or equal to 0) is the following thing:    * A level-0 burger is a patty.   * A level-L burger (L \geq 1) is a bun, a level-(L-1) burger, a patty, another level-(L-1) burger and another bun, stacked vertically in this order from the bottom.  For example, a level-1 burger and a level-2 burger look like `BPPPB` and `BBPPPBPBPPPBB` (rotated 90 degrees), where `B` and `P` stands for a bun and a patty.  The burger Mr. Takaha will make is a level-N burger. Lunlun the Dachshund will eat X layers from the bottom of this burger (a layer is a patty or a bun). How many patties will she eat?

Submission attempts (in order):
N,X = map(int,input().split())
if N == 0:
    print(1)
    exit()

a,b = [1],[1]
for i in range(N):
    a.append(2*a[i] + 3)
    b.append(2*b[i] + 1)
def f(N,X):
    if X == 1:
        return 0
    elif 1 < X <= a[N-1] + 1:
        return f(N-1,X-1)
    elif X == a[N-1] + 2:
        return b[N-1] + 1
    elif a[N-1] + 2 < X <= 2*a[N-1] + 2:
        return b[N-1] + 1 + f(N-1,X-(a[N-1]+2))
    elif X = 2*a[N-1] + 3:
        return 2*b[N-1] + 1
ans = f(N,X)
print(ans)

N,X = map(int,input().split())
if N == 0:
    print(1)
    exit()

a,b = [1],[1]
for i in range(N):
    a.append(2*a[i] + 3)
    b.append(2*b[i] + 1)
def f(N,X):
    if X == 1:
        return 0
    elif 1 < X <= a[N-1] + 1:
        return f(N-1,X-1)
    elif X == a[N-1] + 2:
        return b[N-1] + 1
    elif a[N-1] + 2 < X <= 2*a[N-1] + 2:
        return b[N-1] + 1 + f(N-1,X-(a[N-1]+2))
    elif X = 2*a[N-1] + 3:
        return 2*b[N-1] + 1
ans = def(N,X)
print(ans)

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


# B[0] = 1
def Ber(L):
    if L == 0:
        return 1
    return 2*Ber(L-1) + 3


# P[L] = 1
def Patty(L):
    if L == 0:
        return 1
    return 2*Patty(L-1) + 1

def rec(L=N,bottom=X):
    if L == 0:
        return 1
    if bottom <= 1:
        return 0
    elif bottom <= 1 + Ber(L-1):
        return rec(L-1,bottom-1)
    elif bottom == 1 + Ber(L-1) + 1:
        return Patty(L-1) + 1
    elif bottom <= 1 + Ber(L-1) + 1 + Ber(L-1):
        return Patty(L-1) + 1 + rec(L-1,bottom-(1+Ber(L-1)+1))
    elif bottom <= 1 + Ber(L-1) + 1 + Ber(L-1) + 1:
        return Patty(L-1) + 1 + Patty(L-1)

print(rec())

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

x=int(input())
if x = 7 and x = 5 and 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

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


num = int(input())

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

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


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

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


a = 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

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())
ans ="NO"
if 2<x<8 and x%2==1:
    ans ="YES"
print("ans")

x = int(input())
ans ="NO"
if 2<x<8 and x%2==1:
    ans ="YES"
print("NO")


x = int(input())
ans ="NO"
if 2<x<8 and x%2==1:
    ans ="YES"
print(ans)

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):
import math
import collections
import sys

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

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

import math
import collections
import sys

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

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

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

import math
import collections
import sys

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

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

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):
print('YNeos'[input() not in '753'::2])

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

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())
SichiGoSan=[3,5,7]
if X in SichiGoSan:
     print("yes")
else:
     print("no")

X=int(input())
SichiGoSan=[3,5,7]
if X in SichiGoSan:
     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 input() in "753" else "No")

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

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

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

x=input()
List=['3','5','7']
if x in List:
  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 "753" in x:
  print("Yes")
else:
  print("No")

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

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

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

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

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

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 input() in '753' else 'No')

print('YES' if input() 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):
n=int(input())
if n%7==0 or n%5==0 or n%3==0:
	ptint('YES')
else:
	print('NO')

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

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

if "9" in n:
    print("Yes")
else:
    print("No")

x=input()

print("YES" if x in "357" 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):
ソースコード 

Copy
Copy
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")

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

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 in [7, 5, 3] else 'No')

x = int(input())
print('YES' if x 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):
# coding: utf-8
print("YES" if input()==("3" or "5" or "7") else "NO")

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

# coding: utf-8
print("YES" if input() in "357" else "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):
def number(X):
    if int(X) == 7 or int(X) == 5 or int(X) == 3 and 1 < X < 9:
        print("YES")
    else:
        print("NO")

def number(X):
    if X == 7 or X == 5 or X == 3:
        return "YES"
    else:
        return "NO"

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

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

num = 7, 5, 3
if int(input()) in num:
    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):
age = int(input())
shichigosanAges = {3, 5, 7}
print(age in shichigosanAges ? "YES" : "NO")

age = int(input())
shichigosanAges = {3, 5, 7}
print("YES" if age in shichigosanAges 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):
a=int(input())
print(['No','Yes'][a == 7 or a==5 or a==3])

a=int(input())
print(['NO','YES'][a == 7 or a==5 or a==3])

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())
print('Yes' if x in (3,5,7) else 'No')


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

S = int(input())
if S == 7 or S == 5 or S == 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):
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")

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

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

X=int(input())
if X==7:
  print('YES')
elif X==5:
  print('YES')
elif 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):
k = int(input())

if k%105== 0: 
  print("YES")
else:
  print("NO")

k = int(input())

if 105%k== 0 and k!=1: 
  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()
min = 5000
for i in range(len(S) - 2):
    diff = abs(int(S[i:i+3]) - 753)
    if diff < min:
        min = diff

print(min)

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


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

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

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

n=input()
n=int(n)

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):
y = input()
print(y in ['7','5','3'])

y = input()
if y 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(imput())

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

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

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

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

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

n=int(input())
print(["NO","YES"][n==7 |n==5|n==3])

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

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

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

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

print(['NO', 'YES'][[7, 5, 3].count(int(input()))])

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=list(input())
m=753
for i in range(0,len(s)-2):
  x=int("".join(s[i:i+3]))
  m=min(m,abs(753-x))
print(m)

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

print("NYOE S"[input()in"753"::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):
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):
a = [7, 5, 3]
x = int(input())

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


a = [7, 5, 3]
x = int(input())
 
if x 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):
n = int(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

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

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

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

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

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

Verdicts: Wrong Answer

Runtime Error

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())
res = 'no'
if X == 3 or X == 5 or X == 7:
    res = 'yes'
print(res)



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


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==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")

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


X = int(input())
print('YES' if X == 3 or X == 5 or X == 7 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):
age = int(input())

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

age = int(input())

if age == 7 or age == 5 or age == 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()) <7 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):
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):
# -*- coding: utf-8 -*-
import math
a = int(input())
c = str(a)
b = 0



keta = int (math.log10(a) + 1)
list = []
if a >= 357:
    count = 0
    for i in range(3, keta):
        c = 1
        b = 3
        for j in range(0, i):
            c *= 3
            b *= 2
        list.append(c - b +3)
    start = pow(10, keta - 1) * 3
    while start - 1 <= a:
        start += 1
        flg3 = 0
        flg5 = 0
        flg7 = 0

        if math.floor(start / (pow(10, keta - 1))) == 4:
            start += pow(10, keta - 1)
        if math.floor(start / (pow(10, keta - 1))) == 6:
            start += pow(10, keta - 1)
        if math.floor(start / (pow(10, keta - 1))) == 8:
            break
 
        for j in range(0, keta):
            if (str(start)[j] == "3"):
                flg3 = 1
            elif (str(start)[j] == "5"):
                flg5 = 1
            elif (str(start)[j] == "7"):
                flg7 = 1
            else:
                break
            if (j == keta - 1 and flg3 == 1 and flg5 == 1 and flg7 == 1):
                count += 1
                
    b = count + sum(list)
print(b)
              



# -*- coding: utf-8 -*-
import math
a = int(input())
c = str(a)
b = 0



keta = int (math.log10(a) + 1)
list = []
if a >= 357:
    count = 0
    for i in range(3, keta):
        c = 1
        b = 3
        for j in range(0, i):
            c *= 3
            b *= 2
        list.append(c - b +3)
    start = pow(10, keta - 1) * 3
    print(a / pow(10, keta - 1))
    while start - 1 <= a:
        start += 1
        flg3 = 0
        flg5 = 0
        flg7 = 0

        if math.floor(start / (pow(10, keta - 1))) == 4:
            start += pow(10, keta - 1)
        if math.floor(start / (pow(10, keta - 1))) == 6:
            start += pow(10, keta - 1)
        if math.floor(start / (pow(10, keta - 1))) == 8:
            break
 
        for j in range(0, keta):
            if (str(start)[j] == "3"):
                flg3 = 1
            elif (str(start)[j] == "5"):
                flg5 = 1
            elif (str(start)[j] == "7"):
                flg7 = 1
            else:
                break
            if (j == keta - 1 and flg3 == 1 and flg5 == 1 and flg7 == 1):
                count += 1
                
    b = count + sum(list)
print(b)
              



# -*- coding: utf-8 -*-
a = int(input())
if (a == 3 or a== 5 or a ==7):
    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):
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):
i=int(input())
if(i==7 or i==5 or i==3):
    print("Yes")
else:
    print("No")

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

i=int(input())
if(i==7 or i==5 or i==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):
x = 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):
#114 753

X = int(input())

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

#114 753

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

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


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

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

Verdicts: Runtime Error

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

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


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


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

N = int(input())

if N == 3:
    print("YES")
elif N == 5:
    print("YES")
elif 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):
if input() in "753":
  print("Yes")
else:
  print("No")

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

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()
SS = 99999999999
for i in range(0, len(S)):
    for j in range(0, i):
        for k in range(0, j):
            X = int(S[k] + S[j] + S[i])
            if abs(753 - X) < SS:
                SS = abs(753 - X)
print(SS)

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

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

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

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



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

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

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