TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
X,N = map(int,input().split())
p = list(map(int,input().split()))
min = 0
i = 0
count = 0
while True:
    if abs(X - i) == min:
        if i not in p:
            break
        elif i in p and min != 0:
            count += 1
            if count == 2:
                min += 1
                count = 0
                i = 0
        else:
            min += 1
            i = 0
    i += 1

print(i)

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

for i in range(5):
    if x[i] == 0:
        print(i+1)
        exit()

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

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

count = 0
for i in range (5):
    if a[i] == 0:
        print(count) 
    else:
        count += 1
        

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

print(x.index(0) + 1)

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

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

for i in range(x):
  if x[i] is 0:
    print(i+1)

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

for i in 5:
  if x[i] is 0:
    print(i+1)

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

for i in range(len(x)):
  if x[i] == 0:
    print(i+1)


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
import sys
n = [int(i) for i in input().split()]

for z in n:
    if z == 0:
        print(n.index(z))
        sys.exit()


n = [int(i) for i in input().split()]

print(n.index(0))

import sys
n = [int(i) for i in input().split()]

print(n.index(0) + 1)

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
li = list(map(int,input().split()))
for i, j in enumerate(li):
  if j == 0:
    echo i + 1

li = list(map(int,input().split()))
for i, j in enumerate(li):
  if j == 0:
    print(i + 1)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
import sys

input = sys.stdin.readline

A=[int(input()) for _ in range(5)]

for i,a in enumerate(A):
  if a == 0:
    print(i)
    break

import sys
 
input = sys.stdin.readline
 
s = input()

s.split(" ")

map(int,s)
 
for i,a in enumerate(s):
  if a == 0:
    print(i)
    break

import sys
 
input = sys.stdin.readline
 
s = input().rstrip()
 
s_1 = s.split(" ")
 
s_i = list(map(int,s_1))

for i,a in enumerate(s_i):
  if a == 0:
    print(i+1)
    break

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
nums = list(map(int, input().split()))
ans = -1
for i in nums:
    if nums[i] == 0:
        print(i)

nums = list(map(int, input().split()))
index = 0
for i in nums:
    if nums[index] == 0:
        print(index+1)
    index += 1

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x=list(map(int,input().split()))
print(x)
for i in range(len(x)):
	if x[i]==0:
		print(i+1)
		

x=list(map(int,input().split()))
#print(x)
for i in range(len(x)):
	if x[i]==0:
		print(i+1)
		

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
import sys

a = sys.stdin.read()
for i, v in enumerate(map(int, a.split), 1):
  if v == 0:
    print(i)
    break

import sys
 
a = sys.stdin.read()
for i, v in enumerate(map(int, a.split()), 1):
  if v == 0:
    print(i)
    break

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

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

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

A=list(map(int,input().split()))
for i in range(len(A)):
  if A[i] == 0:
    print(i+1)
    break

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
for num in range(0, 5, 1):
    x = int(input())
    if x == 0:
        print(num + 1)
        exit()

line = list(map(int, input().split()))
cnt = 1
for num in line:
    if num == 0:
        print(cnt)
        exit()

    cnt+=1


Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

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

for i in x:
    if x[i]==0:
        print(i)


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

for i in range(len(x)):
    if x[i]==0:
        print(i+1)


Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
lst = list(input().split())
print(lst)
for i in range(5):
    if lst[i] == "0":
        print(i + 1)

lst = list(input().split())
for i in range(5):
    if lst[i] == "0":
        print(i + 1)

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

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

A = list(map(int,input().split()))
ans=0
for i in range(5):
  if A[i]!=i+1:
    ans=i+1
print(ans)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
a = map(int,input().split())
for i in range(0,4):
    if a[i]==0:
        print(i+1)

a = list(map(int,input().split()))
for i in range(0,5):
    if a[i]==0:
        print(i+1)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
a=input().split()
x=0
for n in a:
  x+=1
  if n=0:
    aa=x
print(aa)

a=input().sprit()
x=0
for n in a:
  x+=1
  if n=="0":
    aa=x
print(aa)

a=input().split()
x=0
for n in a:
  x+=1
  if n=="0":
    aa=x
print(aa)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

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

p=set(map(int,input().split()))

n=set(n for n in range(-100,101))

pd=list(n-p)

min1=1000

for i in range(len(pd)):
    if abs(pd[i]-x)<abs(min1-x):
        min1=pd[i]
    elif abs(pd[i]-x)==abs(min1-x):
        min1=min(pd[i],min1)
print(min1)

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

p=set(map(int,input().split()))

n=set(n for n in range(-100,101))

pd=list(n-p)

min1=1000

for i in range(len(pd)):
    if abs(pd[i]-x)<abs(min1-x):
        min1=pd[i]
    elif abs(pd[i]-x)==abs(min1-x):
        min1=min(pd[i],min1)
print(min1)

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

for i in range(5):
    if x[i]==0:
        print(i+1)
        break

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
n=int(input())
a=list(map(int,input().split()))
a.sort()
M = a[-1]+1
t=[True]*M


for i in a:
    if t[i] == False:
        continue
    if a.count(i)>1:
        t[i] = False
    for j in range(2*i,M,i):
        t[j] = False
ans = 0
for k in a:
    if t[k] == True:
        ans += 1

print(ans)

num = list(map(int, input().split()))
print(num.index(0)+1)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
li = list(map(int,input().split()))
for i in range(len(li)):
  if li[i] == 0:
    print(i)
    break

li = list(map(int,input().split()))
for i in range(len(li)):
    if li[i] == 0:
        print(i+1)

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
xs = map(int, input().split())
for i in range(len(xs)):
    if xs[i] == 0:
        print(i+1)


xs = list(map(int, input().split()))
for i in range(len(xs)):
    if xs[i] == 0:
        print(i+1)


Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):

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


nums = list(map(int, input().split()))
print(nums.index(0)+1)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
#n = int(input())
x, y = map(int, input().split())
#l = list(map(int, input().split()))
#s = input()
ans = "Yes"
for i in range(x+1):
    if 2*i+4*x == y:
        ans = "No"

print(ans)


#n = int(input())

l = list(map(int, input().split()))
#s = input()

for i in range(len(l)):
    if l[i] == 0:
        print (i+1)


Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

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

for i in D:
    if D[i]==0:
        print(i)

D = list(map(int, input().split()))

for i in range (len(D)):
    if D[i]==0:
        print(i)

D = list(map(int, input().split()))

for i in range (len(D)):
    if D[i]==0:
        print(i+1)

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
l = list(map(int,input().split()))
for i in range(len(l)):
  if l[i]==0:
    break;
    
print(i)

l = list(map(int,input().split()))
for i in range(len(l)):
  if l[i]==0:
    break;
    
print(i+1)

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

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

x = map(int,input().split())
y =15
print(y-sum(x))

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

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

y.sort()
ans = [bool(a+1) for a in range(x)]

for i in range(x-1):
    if ans[i] == True:
        if y[i] == y[i+1]:
            ans[i] = False
        for j in range(i+1 ,x):
            if (ans[j] == True) and (y[j]%y[i]==0):
                ans[j] = False

print(sum(ans))

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

if x[1] == 0:
    min = x[0]
else:
    for i in range(1, x[1]):
        if set() == {x[0]-i}&y:
            print(x[0]-i)
            exit()
        elif set() == {x[0]+i}&y:
            print(x[0]+i)
            exit()


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

for i, j in enumerate(x, 1):
    if i != j:
        print(i)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x = list(map(int, input().split(" ")))
ans = 0
for i in range(5):
	if x[i] == 0:
    	ans = i + 1
        
print(ans)

x = list(map(int, input().split(" ")))
ans = 0
for i in range(5):
	if x[i] == 0:
		ans = i + 1
        
print(ans)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
import numpy as np
N=int(input())
alist=list(map(int, input().split()))

alist.sort()
#print(alist)
ans=0
for i in range(1,N):
    a=alist[i]
    aaa=[a]*i
    x=np.array(aaa)
    y=np.array(alist[0:i])
    amari=x%y
    if list(amari).count(0)==1:
        ans+=1
print(ans)


xlist=list(map(int, input().split()))
i=xlist.index(0)
print(i+1)


Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
X = map(int,input().split())
for i in range(5):
    if X[i] != i :
        print(i+1)

X = list(map(int,input().split()))
for i in range(5):
    if X[i] != i+1 :
        print(i+1)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
sieve=[0]*1000009
n=int(input())
s=sorted(map(int,input().split()))
for i in s:
    if sieve[i]<2:
        for j in range(i,1000009,i):sieve[j]+=1
print(sum(sieve[i]==1for i in s))

print(list(map(int,input().split())).index(0)+1)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
l=list(map(int,input().split()))
for i in l:
  if(i==0):
    print(i)
    break

l=list(map(int,input().split()))
for i in range(len(l)):
  if(l[i]==0):
    print(i+1)
    break

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
X, N = map(int, input().split())
p = list(map(int, input().split()))
for d in range(X + 1):
    for s in [-1, +1]:
            a = X + s * d
if p.count(a) == 0:
	print(a)
exit(0)


X, N = map(int, input().split())
p = list(map(int, input().split()))
for d in range(X + 1):
    for s in [-1, +1]:
            a = X + s * d
			if p.count(a) == 0:
				print(a)
				exit(0)


X, N = map(int, input().split())
p = list(map(int, input().split()))
for d in range(X + 1):
    for s in [-1, +1]:
        
        a = X + s * d
        if p.count(a) == 0:
            print(a)
            exit(0)


x1,x2,x3,x4,x5=map(int,input().split())
a=[]
a.append(x1)
a.append(x2)
a.append(x3)
a.append(x4)
a.append(x5)
for i in range(5):
    if a[i]==0:
        print(i+1)


Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
a = list(map(int, input().split()))
for i in range(len(a)):
  if a[i] == 0:
    print(i)
    break
    

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

for i in range(len(a)):
  if a[i] == 0:
    print(i)
    break
    

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

for i in range(len(a)):
  if a[i] == 0:
    print(i+1)
    break
    

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
from sys import stdin

x, y = [int(x) for x in stdin.readline().rstrip().split()]


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


from sys import stdin

x, y = [int(x) for x in stdin.readline().rstrip().split()]


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


from sys import stdin

x, n = [int(x) for x in stdin.readline().rstrip().split()]
if n > 0:
    P = [int(x) for x in stdin.readline().rstrip().split()]

memos = [False] * 102

for p in P:
    memos[p] = True

tgt = x
offset = 1
look_down = True
while True:

    if memos[tgt] == False:
        break
    if look_down:
        look_down = False
        tgt = tgt-offset
    else:
        look_down = True
        tgt = offset + offset
        offset += 1

print(tgt)


from sys import stdin

a = [int(x) for x in stdin.readline().rstrip().split()]


for i, x in enumerate(a):
    i += 1
    if x == 0:
        print(i)




Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x=list(map(int,input().split()))
for i in range(n):
    if x[i]==0:
        print(i+1)
        break

x=list(map(int,input().split()))
for i in range(len(x)):
    if x[i]==0:
        print(i+1)
        break

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
n = int(input())
a = list(map(int,input().split()))
a.sort()
print(a)
p = 0

for i in range(n):
    for j in range(n):
        if i == j:
            pass
        elif a[i] % a[j] == 0:
            break
        else:
            pass
        if j == n - 1:
                p += 1

print(p)

n = int(input())
a = list(map(int,input().split()))
a.sort(reverse = True)
p = 0

for i in range(n):
    j = i + 1
    for j in range(n):
        if i == j:
            pass
        elif a[i] % a[j] == 0:
            break
        else:
            pass
        if j == n - 1:
                p += 1

print(p)

x1,x2,x3,x4,x5 = map(int,input().split())

if x1 == 0:
    print(1)
elif x2 == 0:
    print(2)
elif x3 == 0:
    print(3)
elif x4 == 0:
    print(4)
else:
    print(5)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
li = list(map(int,input().split()))
for i in range(0,5):
  if li[i] == 0:
    print(i)

li = list(map(int,input().split()))
for i in range(0,5):
  if li[i] == 0:
    print(i + 1)

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

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

print(nums)
index = 0
for num in nums:
    index += 1
    if num == "0":
        print(index)
        break


nums = input().split()

#print(nums)
index = 0
for num in nums:
    index += 1
    if num == "0":
        print(index)
        break


Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
N = int(input())
A = list(map(int, input().split()))

B = [1] * (max(A) + 1)
for a in A:
    for k in range(a  * 2,len(B),a):
            B[k] = 0
print(sum(B[a] == 1 and A.count(a) == 1 for a in A))


N = int(input())
A = list(map(int, input().split()))

B = [1] * (max(A) + 1)
for a in A:
    for k in range(a  * 2,len(B),a):
            B[k] = 0
print(sum(B[a] == 1 and A.count(a) == 1 for a in A))


x = list(map(int,input().split()))
ans = x.index(0) + 1
print(ans)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
l=list(map(int,input().split()))
for i in range(5):
  if l[i]==i+1:
    print(i+1)

n=int(input())
l=list(map(int,input().split()))
l.sort()
sum=1
if l[0]==l[1]:
  sum=0
for j in range(1,n):
  i=1
  for m in range(0,j):
    if l[j]%l[m]==0:
      i=0
      break
  sum+=i
    
print(sum)

a,b=map(int,input().split())
if 2*a<=b and b<=4*a and b%2==0:
  print('yes')
else:print('no')

l=list(map(int,input().split()))
c=collections.Counter(l)
def j(n):
  judge=1
  for k  in c.keys():
      if n%k==0:
        if n!=k:
          judge=0
          break
  return judge
count=0
if len(list(c.keys()))==1:
       print(count)
else:
  for k in c.keys():
    if j(k)==1:
      count+=1
  print(count)
  

l=list(map(int,input().split()))
a=l[0]
b=l[1]
if 2*a<=b<=4*a and b%2==0:
  print('yes')
else:print('no')

l=list(map(int,input().split()))
for i in range(5):
  if l[i]!=i+1:
    print(i+1)

Verdicts: Wrong Answer

Runtime Error

Runtime Error

Runtime Error

Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

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

x = list(map(int, input().split()))
print(x.index(0) + 1)


Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

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

for i range(5):
  if arr[i]==0:
    print(i+1)

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

def main():
    if 0<=(y/2 -x)<=x:
        if y==0 or x==0:
            return 'No'
        if (y/2 -x)%1==0:
            return('Yes')
        else:
            return('No')
    else:
        return('No')
print(main())



arr=list(map(int,input().split()))

for i in range(5):
    if arr[i]==0:
        print(i+1)
        


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
X = map(int, input().split())
for i in range(len(X)):
  if X[i] == 0:
    print(i+1)
    break

X = list(map(int, input().split()))
for i in range(len(X)):
  if X[i] == 0:
    print(i+1)
    break

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

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

if N == 0:
    print(X)
    exit()

P = input().split()
for i in range(len(P)):
    P[i] = int(P[i])

if X not in P:
    print(X)
    exit()

flag_p = True
flag_n = True

abs_num = 0
abs_num_p = X + 1
abs_num_n = X - 1
while True:

    if abs_num_p in P:
        flag_p = True
    else:
        flag_p = False

    if abs_num_n in P:
        flag_n = True
    else:
        flag_n = False

    if(flag_p == True & flag_n == True):
        abs_num_p += 1
        abs_num_n -= 1
        continue;
    elif(flag_p == True & flag_n == False):
        print(abs_num_n)
        break;
    elif(flag_p == False):
        print(abs_num_p)
        break;


import numpy as np

X = np.array(input().split())

for i in range(len(X)):
    if (i+1) != int(X[i]):
        print(i+1)
        break;

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
def main():
    input_num=list(input(">>"))
    del input_num[1::2]
    print(input_num)
    number_list=['1','2','3','4','5']
    for i in range(5):
        if input_num[i] != number_list[i]:
            print(i+1)
            break

if __name__=='__main__':
    main()


def main():
  input_number=list(map(int, input().split()))
  for i in input:
    if i==0:
      print(i)
      break

if __name__=='__main__':
  main()

def main():
    input=[1,2,0,4,5]
    number_list=[1,2,3,4,5]
    for i in range(5):
        if input[i] != number_list[i]:
            print(i+1)
            break

if __name__=='__main__':
    main()


def main():
  input_number = list(map(int, input().split()))
  for i in input_number:
    if i==0:
      print(i)
      break

if __name__=='__main__':
  main()


X,Y = map(int, input().split())
if Y%2==1:
    print('No')
else:
    kame=Y//4
    Y=Y-(kame*4)
    turu=Y//2
    if (turu+kame)==X:
        print('Yes')
    else:
        print('No')


def main():
  input_number = list(map(int, input().split()))
  for i in range(5):
    if input_number[i]==0:
      print(i)
      break

if __name__=='__main__':
  main()


X,Y = map(int, input().split())
if Y%2==1:
    print("No")
else:
    kame=Y//4
    Y=Y-(kame*4)
    turu=Y//2
    if (turu+kame)==X:
        print("Yes")
    else:
        print('No')


def main():
  input_number = list(map(int, input().split()))
  for i in range(5):
    if input_number[i]==0:
      print(i+1)
      exit()

if __name__=='__main__':
  main()


Verdicts: Wrong Answer

Runtime Error

Wrong Answer

Wrong Answer

Runtime Error

Wrong Answer

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

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

a = list(map(lambda x:int(x), input().split()))

for i in range(len(a)):
  if(a[i] == 0):
    print(i)
    break

# coding:utf-8

a = list(map(lambda x:int(x), input().split()))

for i in range(len(a)):
  if(a[i] == 0):
    print(i+1)
    break

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x1, x2, x3, x4, x5 = map(int, input().split())

l = [x1, x2, x3, x4, x5]
ls = [str(n) for n in l]
s = ''.join(ls).find('0')
print(s)

x1, x2, x3, x4, x5 = map(int, input().split())

l = [x1, x2, x3, x4, x5]
ls = [str(n) for n in l]
s = ''.join(ls).find('0')
s

x1, x2, x3, x4, x5 = map(int, input().split())

l = [x1, x2, x3, x4, x5]
ls = [str(n) for n in l]
s = ''.join(ls).find('0')
print(s+1)

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x, n = list(map(int, input().split()))
if not n:
  print(x) 
else:
  l = list(map(int, input().split()))
  dic = {} 
  for ll in l: dic[ll] = 1
  i = 1
  while true:
    if not dic.get(x-i,0):
      print(x-i)
      break
    elif not dic.get(x+i, 0):
      print(x+i) 
      break
    i+=1

l = list(map(int, input().split()))
print(l.index(0) + 1)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x = list(map(int, input().split()))
for i in range(0, len(x)):
  if x[i] == 0:
    print(i + 1)
    return


x = list(map(int, input().split()))
for i in range(0, len(x)):
  if x[i] == 0:
    print(i + 1)
    break


Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
data = list(map(int, input()))

_sum = sum(data)

print( 15-_sum )

data = list(map(int, input().split()))

_sum = sum(data)

print( 15-_sum )

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x, n = map(int, input().split())
if n > 1:
  p = list(map(int, input().split()))
else:
  print(x)
  exit(0)
   
for i in range(n+1):
  if (x-i) not in p:
    print(x-i)
    break
  if (x+i) not in p:
    print(x+i)
    break

x = input().split()
print(x.index('0') + 1)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x = list(map(int,inpt().split()))
for i in range(5):
  if x[i] ==0:
    ans = i
    
print(ans)

x = list(map(int,input().split()))
for i in range(5):
    if x[i] ==0:
        ans = i+1
    
print(ans)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
arr = input().spilt()
arr = int(arr)
print(15-sum(arr))

arr = list(map(int, input().split()))
print(15-sum(arr))

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
package main 

import "fmt"

func main() {
	var x [5]int

	for i := 0; i < 5; i++ {
		fmt.Scan(&x[i])
	}

	for i := 0; i < 5; i++ {
		if x[i] == 0 {
			fmt.Println(i + 1)
		}
	}
}

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

for i in range(5):
    if X[i] == 0:
        ans = i + 1

print(ans)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
#D - Not Divisible
import collections
N = int(input())
a = list(map(int,input().split()))
a = sorted(a,reverse = False)


cnt = collections.Counter(a)
m = max(a)+1
for i in a:
    if cnt[i] >= 2:
        del cnt[i]
    for j in range(i*2,m,i):
        del cnt[j]
print(len(cnt.keys()))

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

print(a.index(0) + 1)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

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

for i in x:
	IF x[i] == 0:
    	print(i+1)
    ELSE:
    	pass

x = list(map(int,input().split()))
 
for i in range(len(x)):
	IF x[i] == 0:
    	print(i+1)
    	break


x = list(map(int,input().split()))
 
for i in range(len(x)):
	IF x[i] == 0:
    	print(i+1)
    ELSE:
    	pass

x = list(map(int,input().split()))
 
for i in range(len(x)):
	if x[i] == 0:
    	print(i+1)
    	break


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

for i in x:
	IF x[i] == 0:
    	i
    ELSE:
    	pass

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

for i in range(len(x)):
  if x[i] == 0:
    print(i+1)
    break

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
a = list(map(int, input().split()))
for i in range(len(a)):
    if a[i]==0:
        print(i)
        exit()

a = list(map(int, input().split()))
for i in range(len(a)):
    if a[i]==0:
        print(i+1)
        exit()

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
# -*- coding: utf-8 -*-
import math
 
def is_prime(n):
    if n == 1: return False
 
    for k in range(2, int(math.sqrt(n)) + 1):
        if n % k == 0:
            return False
 
    return True
  
N= int(input())
A = input().split()
ANS = 0
for i in range(N):
  C = A[i]
  if A.count(C) == 1:
    if is_prime(i) == True:
      ANS += 1
print(ANS)

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

a,b,c,d,e = map(int, input().split())
if a == 0:
  print (1)
elif b == 0:
  print (2)
elif c == 0:
  print (3)
elif d == 0:
  print (4)
else:
  print (5)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
import sys
print(sys.split().index("0") + 1)

print( sys.stdin.split().indx("0"))


import sys
print( sys.stdin.split().indx("0"))

print(input().split().index("0") + 1)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
import numpy as np
x_np = np.array(list(map(int, input().split())))
target = np.where(x_np == 0)[0] + 1
print(f"{target}")

import numpy as np
x_np = np.array(list(map(int, input().split())))
target = int(np.where(x_np == 0)[0] + 1)
print(target)

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
a = input().split()
for i in range(5):
  if (i + 1) == int(a[i]):
    continue
  else:
    print(a[i])


a = input().split()
for i in range(5):
  if i == int(a[i])-1:
    continue
  else:
    print(i+1)

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x = [int(x) for x in input().split()]

for i in range(len(x)):
    if(x[i]==0):
        print(i)


x = [int(x) for x in input().split()]

for i in range(len(x)):
    if(x[i]==0):
        print(i+1)


Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

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


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

a,b =map(int,input().split())
c = 1
for i in range(0,a+1):
    if 2*i+4*(a-i) ==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*i)%4==0:
    c = 0
    break
if c ==1:
  print("No")
else:
  print("Yes")


a=list(map(int,input().split()))
for i in range(len(a)):
    if a[i]==0:
        print(i+1)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
s = input().split()
print(s.index['0'])

s = input().split()
print(s.index('0'))

a = list(map(int, input().split()))
print(a.index(0)+1)

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
N = int(input())
A_ = [int(i) for i in input().split()]
A=set(A_)
if len(_A)>len(A) and len(A)=0:
    print(0)
else:
    A.sort()
    A.reverse()
    times = 0
    for n,i in enumerate(A):
        flag = 0
        for j in list(range(n-1,n))+list(range(n+1,len(A))):
            if A[j]<=i:
                if i%A[j]==0:
                    flag = 1
                    break
        if flag == 0:            
            times+=1   
            
    print(times)    

number = input().split()
for i in range(len(number)):
    if number[i]=="0":
        print(i+1)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
List=list(map(int,input().split()))
ans=-1
for x in range(5):
  if(List[x]==0):
    ans=x+1
  	break
print(ans)

List=list(map(int,input().split()))
ans=-1
for x in range(5):
  if(List[x]==0):
    ans=x+1
    break
print(ans)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
# ABC169A

x = map(int, input().split())
print(x.index(0)+1)


# ABC169A

x = list(map(int, input().split()))
print(x.index(0)+1)


Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
a,b=map(int,input().split())
print(a*b)


S=list(map(int,input().split()))
for i in range(5):
    if S[i]==0:
        print(i+1)


Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
a=list(map(int,input().split()))
for i in range(len(a)):
  if a[i]==0:
    print(i)
    break
  

a=list(map(int,input().split()))
for i in range(len(a)):
    if a[i]==0:
        print(i+1)
        break

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

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

sett=list(map(int,input().split()))
arr=[i for i in range(-1,102) if i not in sett]

min_=100000
num=0
for i in arr:
	if abs(x-i)<min_:
		min_=abs(x-i)
		num=i



print(num)


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

import sys

I=sys.stdin.readline

arr=list(map(int,I().split()))

print(arr.index(0))

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

arr=list(map(int,input().split()))

print(arr.index(0)+1)

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Accepted