TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
ans = 'No'
x, y = map(int, input().split())
for i in range(x+1):
  if (2 * x) + (4 * (x-i)) == y:
    ans = 'Yes'
    break
print(ans)

ans = 'No'
x, y = map(int, input().split())
for i in range(x+1):
  if 2 * x + 4 * (x-i) == y:
    ans = 'Yes'
    break
print(ans)

ans = 'No'
x ,y = map(int, input().split())
for i in range(x+1):
  if 2 ＊ x + 4 ＊ (x-i) == y:
    ans = 'Yes'
    break
print(ans)

ans = 'No'
x, y = map(int, input().split())
for i in range(x+1):
  if (2 * i) + (4 * (x-i)) == y:
    ans = 'Yes'
    break
print(ans)

Verdicts: Wrong Answer

Wrong Answer

Runtime Error

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
x,y = map(int,input().split())

for i in range(X):
  for j in range(X):
    if 2*i+4*j == Y:
      print("Yes")
      exit()

print("No")

x,y = map(int,input().split())

for i in range(x+1):
  for j in range(x+1):
    if 2*i+4*j == y and i+j == x:
      print("Yes")
      exit()

print("No")

Verdicts: Runtime Error

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
X, Y = map(int, input().split())
for i in range(X):
  if 2*(i+1) + 4*(X-i-1) == Y:
    print('Yes')
print('No')

x, y = map(int, input().split())

if (2*x <= y <= 4*x) and (y % 2 == 0):
  print("Yes")
else:
  print("No")

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
L = [int(i) for i in input().split()]
flag=0
for i in range(L[0]+1):
    # print(L[1]-i*2-(L[0]-i)*4)
    if L[1]-i*2-(L[0]-i)*4==0:
        print("Yes")
        flag=1
        break
    if L[1]<i*2+(L[0]-i)*4:
        # print("df")
        break

if flag==0:
    print("No")

L = [int(i) for i in input().split()]
flag=0
for i in range(L[0]+1):
    # print(L[1]-i*2-(L[0]-i)*4)
    if L[1]-i*2-(L[0]-i)*4==0:
        print("Yes")
        flag=1
        break
    # if L[1]<i*2+(L[0]-i)*4:
    #     print("df")
    #     break

if flag==0:
    print("No")

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
x, y = map(int, input().split())
sub = x*2 - y
if sub % 2 == 0 and 0 <= sub <= x:
  print('Yes')
else:
  print('No')

x, y = map(int, input().split())
sub = y - x * 2
if sub % 2 == 0 and 0 <= sub / 2 <= x:
  print('Yes')
else:
  print('No')

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
x, y = map(int,input().split())
t , k = 2 , 4
ans = 0
for i in range(x+1):
    print(i, x-i)
    if y == (t*i + k*(x-i)):
        ans += 1

if ans == 0:
    print('No')
else:
    print('Yes')

x, y = map(int,input().split())
t , k = 2 , 4
ans = 0
for i in range(x+1):
    if y == (t*i + k*(x-i)):
        ans += 1

if ans == 0:
    print('No')
else:
    print('Yes')

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
from math import *

def cin(): # To take limited number of inputs
    return map(int,input().split())

def cins(): # To take space sepreated strings
    return input.split()

def cino(test=False): # To take individual int input (test = False)
    if not test:
        return int(input())
    else: # To take string input (test = True)
        return input()

def cina(): # array input
  return list(map(int,input().split()))

def ssplit(): # multiple string input
    return list(input().split())

def printlist(l): # To print space seperated array
    for i in l:
        print(i,end=" ")

def main():
    a,b = cin()
    cnt = 0
    while b>0:
        b-=2
        cnt += 1
    if cnt<=a:
        print("Yes")
    else:
        print("No")


if __name__ == '__main__':
    main()


from math import *

def cin(): # To take limited number of inputs
    return map(int,input().split())

def cins(): # To take space sepreated strings
    return input.split()

def cino(test=False): # To take individual int input (test = False)
    if not test:
        return int(input())
    else: # To take string input (test = True)
        return input()

def cina(): # array input
  return list(map(int,input().split()))

def ssplit(): # multiple string input
    return list(input().split())

def printlist(l): # To print space seperated array
    for i in l:
        print(i,end=" ")

def main():
    a,b = cin()
    if b>=2*a and b<=4*a and not b&1:
        print("Yes")
    else:
        print("No")


if __name__ == '__main__':
    main()


Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
# B - Crane and Turtle
x, y = map(int, input().split())

for crane in range(x + 1):
	turtle = x - crane
	
	if crane * 2 + turtle * 4 == y:
		print('YES')
		exit()

print('NO')

import sys
input = sys.stdin.readline

# B - Crane and Turtle
x, y = map(int, input().split())

for crane in range(x + 1):
	turtle = x - crane
	
	if crane * 2 + turtle * 4 == y:
		print('YES')
		exit()

print('NO')

import sys
input = sys.stdin.readline

# B - Crane and Turtle
x, y = map(int, input().split())

for crane in range(x + 1):
	turtle = x - crane
	
	if crane * 2 + turtle * 4 == y:
		print('Yes')
		exit()

print('No')

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
n, m = map(int, input().split())
if m % 2 and n * 2 <= m <= n * 4:
    print("Yes")
else:
    print("No")

n, m = map(int, input().split())
if m % 2 == 0 and n * 2 <= m <= n * 4:
    print("Yes")
else:
    print("No")

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
def main():
    souwa,ashi=map(int,input().split())
    if souwa*2==ashi or souwa*4==ashi:
        print('Yes')
    else:
        turu=(ashi-souwa*2)
        if turu<0:
            print('No')
            return
        kame=turu/2
        turu=souwa-kame
        if turu<0:
            print('No')
            return
        if kame+turu==souwa:
            print('Yes')
        else:
            print('No')
        print(kame,turu)
if __name__ == "__main__":
    main()

def main():
    x,y=map(int,input().split())
    for i in range(x+1):
        if i*2+(x-i)*4==y:
            print("Yes")
            return
    print('No')
if __name__ == "__main__":
    main()
#12 31

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
x,y=map(int,input().split())
a=0
for i in range(x+1):
  if 2*i+4*(x-i)==y:
    a=1
    break
if a=1:
  print('Yes')
else:
  print('No')

x,y=map(int,input().split())
a=0
for i in range(x+1):
  if 2*i+4*(x-i)==y:
    a=1
    break
if a==1:
  print('Yes')
else:
  print('No')


Verdicts: Runtime Error

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

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

if ((4 * x) - y) % 2 == 0 and y >= 2 * x and  y >= 4 * x:
  print('Yes')
else:
  print('No')

x,y = list(map(int,input().split()))

if ((4 * x) - y) % 2 == 0 and y >= 2 * x and  y <= 4 * x:
  print('Yes')
else:
  print('No')

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
input()
ls = list(map(int, input().split(' ')))

if ls.count(0) > 0:
    print(0)
else:
    result = 1
    for i in ls:
        result *= i
        if result > 10 ** 18:
            print(-1)
    print(result)

X, Y = map(int, input().split(' '))
if Y % 2 == 0 and 2 * X <= Y <= 4 * X:
    print('Yes')
else:
    print('No')

Verdicts: Runtime Error

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):

if y > x * 4:
    print('No')

elif y < x * 2:
    print('No')

elif y % 2 == 1:
    print('No')
else:
    print('Yes')

x, y = map(int, input().split())


if y > x * 4:
    print('No')

elif y < x * 2:
    print('No')

elif y % 2 == 1:
    print('No')
else:
    print('Yes')


Verdicts: Runtime Error

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
x,y = map(int,input().split())
if 2*x == y or 4*x == y : print('Yes')
else:print('No')

x,y = map(int,input().split())

b2 = y-2*x
a = x - b2//2
if b2%2 or b2 < 0 or a < 0:
  print('No')
else:print('Yes')

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
X, Y = map(int,input().split)
ans = "No"
for a in range(X + 1):
    b = X - a
    if 2 * a + 4 * b == Y:
        ans = "Yes"
print(ans)

X, Y = list(map(int, input().split()))
ans = "No"
for a in range(X + 1):
    b = X - a
    if 2 * a + 4 * b == Y:
        ans = "Yes"
print(ans)

Verdicts: Runtime Error

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
x,y = map(int,input().split())

for i in range(x):
    if 2*(i-1) + 4*(x-(i-1)) == y:
        print("Yes")
        exit()
        
print("No")
            

x,y = map(int,input().split())

for i in range(i + 1):
    if 4*i + 2*(x-i) == y:
        print("Yes")
        exit()
        
print("No")
            

x,y = map(int,input().split())

for i in range(x + 1):
    if 4*i + 2*(x-i) == y:
        print("Yes")
        exit()
        
print("No")
            

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
X,Y=input().split();
X=int(X);
Y=int(Y);
for k in range(X+1):
  print(k);
  if Y==4*k+2*(X-k):
    print("Yes");
    exit();
print("No");

X,Y=input().split();
X=int(X);
Y=int(Y);
for k in range(X+1):
  if Y==4*k+2*(X-k):
    print("Yes");
    exit();
print("No");

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
x,y=map(int,input().split())
for i in range(1,x+1):
  if 2*i+4*(x-i)==y:
    ans="Yes"
  else:
    ans="No"
print(ans)

x,y=map(int,input().split())
for i in range(x+1):
  if 2*i+4*(x-i)==y:
    ans="Yes"
    break
  else:
    ans="No"
print(ans)

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

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

if Y%2==0 and Y-2*X>=0 and 4*X-Y>=0:
  print("Yes")
else:
  print("No")

X,Y=map(int,input().split())
 
if Y%2==0 and Y-2*X>=0 and 4*X-Y>=0:
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
x, y = map(int, input().split())

def func(x,y):
    if y % 2 == 1:
        return False
    if 4*x < y:
        return False
    else:
        return True
    
if func(x,y):
    print("Yes")
else:

x, y = map(int, input().split())

def func(x,y):
    if y % 2 == 1:
        return False
    if 4*x < y:
        return False
    if y < 2*x:
        return False
    else:
        return True
    
if func(x,y):
    print("Yes")
else:
    print("No")

Verdicts: Runtime Error

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
X, Y = map(int, input().split())
if (2*X <= Y <= 4*X) & (Y%2==0):
    print('YES')
else:
    print('NO')

X, Y = map(int, input().split())
if (2*X <= Y <= 4*X) & (Y%2==0):
    print('Yes')
else:
    print('No')

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
from sys import stdin

a, b = [int(x) for x in stdin.readline().rstrip().split()]
print(a, b)
if (a*2<=b and a*4>=b) and b%2==0:
  print("Yes")
else:
  print("No")
    



from sys import stdin

a, b = [int(x) for x in stdin.readline().rstrip().split()]
if (a*2<=b and a*4>=b) and b%2==0:
  print("Yes")
else:
  print("No")
    



Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
x, y = map(int, input().split())

flag = 0
for i in range(x):
  if (i * 2 + (x - i) * 4) == y:
    print("YES")
    flag = 1
    break
if flag == 0:
  print("NO")

x, y = map(int, input().split())

flag = 0
for i in range(x):
  if (i * 2 + (x - i) * 4) == y:
    print("YES")
    flag = 1
    break
if flag == 0:
	print("NO")

x, y = map(int, input().split())

flag = 0
for i in range(x):
  print(i)
  if (i * 2 + (x - i) * 4) == y:
    print("YES")
    flag = 1
    break
if flag == 0:
  print("NO")

x, y = map(int, input().split())

flag = 0
for i in range(x+1):
  if (i * 2 + (x - i) * 4) == y:
    print("Yes")
    flag = 1
    break
if flag == 0:
  print("No")


Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
a,b =map(int,input().split())
c = 1
for i in range(0,a):
  for k in range(0.a-i):
    if 2*i+4*k ==b:
      c = 0
      break
if c ==0:
  print("Yes")
else:
  print("No")

a,b =map(int,input().split())
c = 1
for i in range(a):
  if (b-2*a)%4==0:
    c = 0
    break
if c ==1:
  print("No")
else:
  print("Yes")


x,y=map(int,input().split())
flag=0
for i in range(x+1):
    if i*2+(x-i)*4==y:
        print("Yes")
        flag=1
        break
if flag==0:
    print("No")


Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
X,Y=map(int,input().split())
def s(X,Y):
    for i in range(0,X+1):
        for j in range(i+1,X+2):
            if (2*i+4*j)==Y or (2*j+4*i)==Y:
                return " Yes "
    return " No "
print(s(X,Y))


X,Y=map(int,input().split())
def s(X,Y):
    for i in range(0,X+1):
        t=X-i
        if (2*i+4*t==Y):
                return "Yes"
    return "No"
ans=(s(X,Y))
print(ans)

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
x,y=map(int,input().split())

for i in range(n+1):
  if i*4+(n-i)*2==y:
    print("Yes")
    
else:
  print("No")

x,y=map(int,input().split())
 
for i in range(x+1):
  if i*4+(x-i)*2==y:
    print("Yes")
    break   
else:
  print("No")

Verdicts: Runtime Error

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
a = list(map(int, input().split()))
if (4 * a[0] - a[1]) % 2 == 0 and 2 * t >= (4 * a[0] - a[1]) >= 0:
    print('Yes')
else:
    print('No')

a = list(map(int, input().split()))
if (4 * a[0] - a[1]) % 2 == 0 and 2 * a[0] >= (4 * a[0] - a[1]) >= 0:
    print('Yes')
else:
    print('No')

Verdicts: Runtime Error

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
x, y = map(int, input().split())

a = y / 2
b = 0
while (a + b) != x:
  a -= 2
  b += 1
  if a == -1:
    a = 0
  elif a < -1:
    break

s = 2 * a + 4 * b
if s == y and a >= 0:
  print("yes")
else:
  print("no")

import sys
x, y = map(int, input().split())

if y % 2 == 1:
  print ("no")
  sys.exit()
  
a = y / 2
b = 0
while (a + b) != x:
  a -= 2
  b += 1
  if a < 0: break

s = 2 * a + 4 * b
if s == y and a >= 0:
  print("yes")
else:
  print("no")

x, y = map(int, input().split())

a = y / 2
b = 0
while (a + b) != x:
  a -= 2
  b += 1
  if a < 0: break

s = 2 * a + 4 * b
if s == y and a >= 0:
  print("yes")
else:
  print("no")

x, y = map(int, input().split())
 
ans = "No"
 
for a in range(x + 1):
  b = x - a
  if (2 * a + 4 * b ) == y:
    ans = "Yes"
    break
    
print (ans)

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
n , m = map(int , input().split())
a = (m-2*n) / 2
if isinstance(a,int):
    print('Yes')
else:   print('No')

n , m = map(int , input().split())
print('Yes') if (m - 2 * n) % 2 ==0 and (m - 2 * n) >=0 and 4 * n - m >= 0 and (4 * n - m) % 2 == 0 else print('No')

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

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

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

#s = input()



ans = "YES"

if not Y%2 == 0:
    ans = "NO"
elif Y < 2*X:
    ans = "NO"
elif 4*X < Y:
    ans = "NO"

print(ans)


# -*- coding: utf-8 -*-

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

#s = input()



ans = "Yes"

if not Y%2 == 0:
    ans = "No"
elif Y < 2*X:
    ans = "No"
elif 4*X < Y:
    ans = "No"

print(ans)


Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
n,l = list(map(int, input().split()))
if 2*n <= l <= 4*n and (4*n - l) % 2 == 0:
  print("yes")
else:
  print("No")

n,l = list(map(int, input().split()))
if l <= 4*n and (4*n - l) % 2 == 0:
  print("yes")
else:
  print("No")

n,l = list(map(int, input().split()))
if 2*n <= l <= 4*n and (4*n - l) % 2 == 0:
  print("Yes")
else:
  print("No")

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
x, y = map(int, input().split())

judge = (y - 4 * x) / 2
if judge.is_integer() and judge >= 0 and judge <= x:
    print("Yes")
else:
    print("No")

x, y = map(int, input().split())

judge = (4 * x - y) / 2
if judge.is_integer() and judge >= 0 and judge <= x:
    print("Yes")
else:
    print("No")

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
X, Y = map(int, input().split())

a = (4*X-Y)/2
b = X - a
d = a.is_integer()
e = b.is_integer()
if a==0 and b==0:
    print('No')
elif a>0 and b>=0:
    if d and e:
        print('yes')
    else:
        print('No')
elif a>=0 and b>0:
    if d and e:
        print('yes')
    else:
        print('No')
else:
    print('No')

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

a = (4*X-Y)/2
b = X - a

d = a.is_integer()
e = b.is_integer()
if a>=0 and b>=0:
    if d and e:
        print('yes')
    else:
        print('No')
else:
    print('No')

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

a = (4*X-Y)/2
b = X - a

d = a.is_integer()
e = b.is_integer()
print(d)
print(e)
if a==0 and b==0:
    print('No')
elif a>=0 and b>=0:
    if d and e:
        print('yes')
    else:
        print('No')
else:
    print('No')

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

a = (4*X-Y)/2
b = X - a
d = a.is_integer()
e = b.is_integer()
if a==0 and b==0:
    print('No')
elif a>0 and b>=0:
    if d and e:
        print('Yes')
    else:
        print('No')
elif a>=0 and b>0:
    if d and e:
        print('Yes')
    else:
        print('No')
else:
    print('No')


Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
X,Y= map(int,input().split())
if (Y%2==0 and Y>=2*X and Y<=4*X):
    print('yes')
else:
    print('No')


X,Y= map(int,input().split())
if (Y%2==0 and 2*X<=Y and Y<=4*X):
    print('yes')
else:
    print('No')

X,Y= map(int,input().split())
if y%2==0 and 2*X<=Y and Y<=4*X:
    print('yes')
else:
    print('No')

X,Y= map(int,input().split())
b=(Y-2*X)%2
a=(4*X-Y)%2
B=(Y-2*X)/2
A=(4*X-Y)/2
if (b==0 and a==0 and A>=0 and B>=0):
    print('yes')
else:
    print('No')

X,Y= map(int,input().split())
b=(Y-2*X)%2
a=(4*X-Y)%2
B=(Y-2*X)/2
A=(4*X-Y)/2
if b==0 and a==0 and A>=0 and B>=0:
    print('yes')
else:
    print('No')

X,Y= map(int,input().split())
b=(Y-2*X)%2
a=(4*X-Y)%2
B=(Y-2*X)/2
A=(4*X-Y)/2
if b==0 and a==0 and A>=0 and B>=0:
    print('yes')
else:
    print('No')

X,Y= map(int,input().split())
b=(Y-2*X)%2
a=(4*X-Y)%2
B=(Y-2*X)/2
A=(4*X-Y)/2
if b==0 and a==0 and A>=0 and B>=0:
    print('yes')
else:
    print('No')


X,Y= map(int,input().split())
b=(Y-2*X)%2
a=(4*X-Y)%2
B=(Y-2*X)/2
A=(4*X-Y)/2
if (b==0 and a==0 and A>=0 and B>=0):
    print('Yes')
else:
    print('No')


Verdicts: Wrong Answer

Wrong Answer

Runtime Error

Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
X, Y =map(int,input().split())
a = 0
for i in range(X+1):
  if 2*i+4*(X-i)==Y:
    print('Yes')
   
  else:
    a += 1
    
if a==X
    
    
if a   ==1:
  print('No')

X, Y =map(int,input().split())
a = 0
for i in range(X+1):
  if 2*i+4*(X-i)==Y:
    print('Yes')
   
  else:
    a = 1
    
if a   ==1:
  print('No')

X, Y =map(int,input().split())
a = 0
for i in range(X+1):
  if 2*i+4*(X-i)==Y:
    print('Yes')
  else:
    a +=1
  
    
if a ==X+1:
  print('No')

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
input_line = input().split()

for i in range(input_line[1]):
  print(input_line[0])

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

ans = 'No'
for a in range(X + 1):
	b = X - a
	if 2 * a + 4 * b == Y:
		ans = 'Yes'
        
print(ans)

Verdicts: Runtime Error

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
input_line = input().split(" ")
X = int(input_line[0])
Y = int(input_line[1])
Pat = 0
for i in range(X + 1):
  	C = i
	T = X - i
    Cf = C * 2
    Tf = T * 4
    F = Cf + Tf
	if Y == F:
      Pat = Pat + 1
if Pat >= 0:
  print("Yes")
else:
  print("No")
   
  
  
  


input_line = input().split(" ")
X = int(input_line[0])
Y = int(input_line[1])
Pat = 0
for i in range(X + 1):
  C = i
  T = X - i
  Cf = C * 2
  Tf = T * 4
  F = Cf + Tf
  if Y == F:
      Pat = Pat + 1
if Pat > 0:
  print("Yes")
else:
  print("No")


Verdicts: Runtime Error

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
x, y = map(int, input().split())
for i in range(0, x+1):
  a.append(2 * i + 4 * (3 - i))
print("Yes" if y in a else "No")

x, n = map(int, input().split())
s = []
if n == 0:
  print(x)
else:
  a = sorted([i for i in list(map(int, input().split())) if i != x])
  for i in range(n):
    s.append(abs(a[i] - x))
  b = a[s.index(min(s))]
  print(b)

x, y = map(int, input().split())
a = []
for i in range(0, x+1):
  a.append(2 * i + 4 * (x - i))
print("Yes" if y in a else "No")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
x, y = map(int, input().split())
for i in range(y+1):
  if i * 2 + (y-i) * 4 == y:
    print("Yes")
    exit()
print("No")


x, y = map(int, input().split())
for i in range(x+1):
  if i * 2 + (x-i) * 4 == y:
    print("Yes")
    exit()
print("No")

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
x, y = map(int, input().split())

if (4*x-y)%2 == 0 and 4*x-y >= 0 and 2*x >= y:
  print('Yes')
else:
  print('No')

x, y = map(int, input().split())

if (4*x-y)%2 == 0 and 4*x-y >= 0 and 2*x <= y:
  print('Yes')
else:
  print('No')

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
XY = input().split()
tk = ""
for i in range(int(XY[0])):
    for j in range(int(XY[0])):
        if (4*i + 2*j) == int(XY[1]):
            print("Yes")
            break
    else:
        print("No")
        break


XY = input().split()
X = int(XY[0])
Y = int(XY[1])
l = []
for i in range(X+1):
    for j in range (X+1):
        if i + j == X:
            if (4*i + 2*j) == Y:
                l.append("Yes")
            else:
                l.append("No")
if l.count("Yes") > 0:
    print("Yes")
else:
    print("No")
        #print(str(i) + "," + str(j))

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
#-*- using:utf-8 -*-
 
X, Y = map(int, input().split())
a = (4*X-Y)/2
b = (2*X-Y)/2
if a.is_integer() and b.is_integer():
    if a > 0 or b > 0:
        print("YES")
    else:
        print("No")


#-*- using:utf-8 -*-
 
X, Y = map(int, input().split())
a = (4*X-Y)/2
b = (2*X-Y)/2
if(X*2 <= Y and Y <= X*4):
    if a.is_integer() and b.is_integer():
        if a > 0 or b > 0:
            print("YES")
        else:
            print("No")
    else:
        print("No")
else:
    print("No")


#-*- using:utf-8 -*-
 
X, Y = map(int, input().split())

for i in range(0, X+1):
    f = 2 * i + 4 * (X - i)
    if f == Y:
        print("Yes")
        break
else:
    print("No")

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
import io,sys
sys.setrecursionlimit(10**6)


def main():
    X,Y = map(int,sys.stdin.readline().rstrip().split())

    y = (Y-2*X)/2
    x = X-y

    if y>=0 and y == int(y) and x >= 0:
        print("YES")
    else:
        print("NO")
main()

import io,sys
sys.setrecursionlimit(10**6)


def main():
    X,Y = map(int,sys.stdin.readline().rstrip().split())

    y = (Y-2*X)/2
    x = X-y

    if y>=0 and y == int(y) and x >= 0:
        print("Yes")
    else:
        print("No")
main()

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):

def main():
    X, Y = map(int, input().split())
    #total X
    #feet Y
    for x in range(X+1):
        y = X - x
        feet = 4 * x + 2 * y
        if feet == Y:
            print("YES")
            return

    print("NO")

if __name__ == '__main__':
    main()



def main():
    X, Y = map(int, input().split())
    #total X
    #feet Y
    for x in range(X+1):
        y = X - x
        feet = 4 * x + 2 * y
        if feet == Y:
            print("Yes")
            return

    print("No")

if __name__ == '__main__':
    main()


Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
x, y  = map(int, input().split())
if(y & 1):
  print("NO")
elif(y/2 < x or y > 4*x):
  print("NO")
else:
  print("YES")

x, y  = map(int, input().split())
if(y & 1):
  print("No")
elif(y < (x<<1) or y > (x<<2)):
  print("No")
else:
  print("Yes")

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
'''
In the name of God
'''

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

if b >= 2*a and b <= 4*a:
    print('YES')
else:
    print('NO')


'''
In the name of God
'''

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

if b >= 2*a and b <= 4*a and b % 2 == 0:
    print('Yes')
else:
    print('No')


Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
from numpy.linalg import solve

X,Y = input().split(" ")

left = [[2, 4],
        [1, 1]]
 
right = [int(Y), int(X)]
 
Ans = solve(left, right)

print(Ans)


if Ans[0].is_integer() == True and Ans[1].is_integer() == True and Ans[0] >= 0 and Ans[1] >= 0:
  print("Yes")
else:
  print("No")


from numpy.linalg import solve

X,Y = input().split(" ")

left = [[2, 4],
        [1, 1]]
 
right = [int(Y), int(X)]
 
Ans = solve(left, right)

#print(Ans)


if Ans[0].is_integer() == True and Ans[1].is_integer() == True and Ans[0] >= 0 and Ans[1] >= 0:
  print("Yes")
else:
  print("No")

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
l = input().split()
x = l[0]
y = int(l[1])

ans = 0

foots = 2*int(x)

for i in  range(int(x)+1):
    if foots == y:
        ans +=1
    foots += 2

print(foots)

if ans == 1:
    print("Yes")

else:
    print("No")

l = input().split()
x = l[0]
y = int(l[1])

ans = 0

foots = 2*int(x)

for i in  range(int(x)+1):
    if foots == y:
        ans +=1
    foots += 2

if ans == 1:
    print("Yes")

else:
    print("No")

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
x, y = map(int,input().split())
kame = (y - 2*x) / 2
tsuru = x - kame
if kame.is_integer() and tsuru.is_integer():
  if kame > 0 and tsuru >= 0:
    print('Yes')
  elif tsuru > 0 and kame >= 0:
    print('Yes')

print('No')




x, y = map(int,input().split())
kame = (y - 2*x) / 2
if kame.is_integer() and kame >= 0:
  tsuru = x - kame
  if tsuru.is_integer() and tsuru >= 0:
    print('Yes')
print('No')

x, y = map(int,input().split())
kame = (y - 2*x) / 2
tsuru = x - kame
if kame.is_integer() and tsuru.is_integer():
  if kame > 0 and tsuru >= 0:
    print('Yes')
  elif tsuru > 0 and kame >= 0:
    print('Yes')
  else:
    print('No')
  exit()
else:
  print('No')

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
 x, y = map(int, input().split())
if y%2 == 0 and (x*2 <= y <= x*4):
  print('Yes')
else:
  print('No')

x, y = map(int, input().split())
if y%2 == 0 and (x*2 <= y) and (y<= x*4):
  print('Yes')
else:
  print('No')

Verdicts: Runtime Error

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
import numpy as np


def main(X, Y):
    if 2*X <= Y and 4*X >= Y:
        return "YES"
    return "NO"


X, Y = map(int, input().split())
print(main(X, Y))


import numpy as np


def main(X, Y):
    if 2*X <= Y and 4*X >= Y:
        return "YES"
    return "NO"


X, Y = map(int, input().split())
print(main(X, Y))


import numpy as np


def main(X, Y):
    if 2*X <= Y and 4*X >= Y and Y % 2 == 0:
        return "Yes"
    return "No"


X, Y = map(int, input().split())
print(main(X, Y))


Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
x,y = map(int, input().split())

print("Yes" if (x % 2 == 0) and y >= 2*x and y <= 4*x  else "No")

x,y = map(int, input().split())

print('yes' if y >= 2*x and y <= 4*x else 'no')

x,y = map(int, input().split())

print("yes" if y >= 2*x and y <= 4*x else "no")

x,y = map(int, input().split())

print("Yes" if (y % 2 == 0) and y >= 2*x and y <= 4*x  else "No")



Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
#!/usr/bin/env python3

X, Y = map(int, input().split())
print(X, Y)

# a + b = X
# 2a + 4b = Y
# --
# b = (Y-2X) / 2

b = (Y - 2 * X) / 2.0

if b.is_integer():
    print("Yes")
else:
    print("No")


#!/usr/bin/env python3

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

# a + b = X
# 2a + 4b = Y

for a in range(X + 1):
    b = X - a

    if (2 * a + 4 * b) == Y:
        print("Yes")
        exit()

print("No")


Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
from itertools import accumulate
from collections import Counter
n = int(input())
T = []
for _ in range(n):
    T.append(int(input()))
T.sort()
print(sum(accumulate(T)))
dic = Counter(T)
ans = 1
mod = 10**9+7
for i in dic.values():
    for j in range(1,i+1):
        ans *= j
        ans %= mod
print(ans)

x,y = map(int,input().split())
if y % 2 != 0:
    print("No")
    exit()
a = y//2-x
b = 2*x-y//2
if a >= 0 and b >= 0:
    print("Yes")
else:
    print("No")


Verdicts: Runtime Error

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
# coding: utf-8
# Your code here!

x, y = list(map(int, input().split()))

if(y > x*4):
    print("no")
else:
    if(y%2 == 1):
        print("no")
    else:
        print("yes")

# coding: utf-8
# Your code here!

x, y = list(map(int, input().split()))

if(y > x*4):
    print("No")
elif(y/2 < x):
    print("No")
else:
    if(y%2 == 1):
        print("No")
    else:
        print("Yes")

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
x,y=map(int,input().split())
for i in range(x):
    if 2*(i+1)+4*(x-i-1)==y:
        print('Yes')
    else:
        if i==x-1:
            print('No')
        pass    

x,y=map(int,input().split())
for i in range(x+1):
    if 2*(i)+4*(x-i)==y:
        print('Yes')
        break
    else:
        if i==x:
            print('No')
            break

Verdicts: Wrong Answer

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
X,Y=map(int,input().split())
a=(4*X-Y)//2
if a.is_integer() and a>=0 and a<=100:
  print("Yes")
else:
  print("No")

X,Y=map(int,input().split())
a=(4*X-Y)/2
if X<=Y and a.is_integer() and a>=0 and a<=50:
  print("Yes")
else:
  print("No")

Verdicts: Runtime Error

Accepted
Problem: There are some animals in a garden. Each of them is a crane with two legs or a turtle with four legs.  Takahashi says: "there are X animals in total in the garden, and they have Y legs in total." Determine whether there is a combination of numbers of cranes and turtles in which this statement is correct.

Submission attempts (in order):
X,Y = map(int,input().split())
if Y % 2 !=0:
    a = "NO"
else:
    t = 2*X-Y/2
    k = Y/2-X
    if int(t)<0 or int(k)<0:
        a = "NO"
    else:
        a = "YES"
print(a)

X,Y = map(int,input().split())
if Y % 2 !=0:
    a = "No"
else:
    t = 2*X-Y/2
    k = Y/2-X
    if int(t)<0 or X<int(t) or int(Y/2)<int(t):
        a = "No"
    elif int(k)<0 or X<int(k) or int(Y/4)<int(k):
        a = "No"
    else:
        a = "Yes"
print(a)

Verdicts: Wrong Answer

Accepted