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())
if N > 0:
    l = list(map(int, input().split()))
    A = [0] * N
    for i in range(N):
        A[i] = abs(l[i] - X)
        S = A.count(0)
        if S == 0:
            print(X)
        else:
            for i in range(1, N):
                S = A.count(N)
                if S == 1:
                    if l.count(X - 1) == 0:
                        print(X - 1)
                        break
                    else:
                        print(X + 1)
                        break
                else:
                    pass
else:
    print(X)



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

for i in range(5):
    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):
nums = [int(x) for x in input()]

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


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

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


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):
g=[]
a, b, c, d, e = map(int,input().split())
for i in a, b, c, d, e, f:
    g.append(i)
print(g.index(0)+1)

g=[]
a, b, c, d, e, f = map(int,input().split())
for i in a, b, c, d, e, f:
    g.append(i)
h=g.index(0)
print(h+1)

g=[]
a, b, c, d, e = map(int,input().split())
for i in a, b, c, d, e, f:
    g.append(i)
h=g.index(0)
print(h+1)

g=[]
a, b, c, d, e = map(int,input().split())
for i in a, b, c, d, e:
    g.append(i)
print(g.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):
x,y = int(input().split())
 
if x*4>y and y<x*2 and y%2 == 0:
  print("Yes")
else:
  print("No")

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


C

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

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

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

x = [int(i) for i in input().split()]
print(x.index(0) + 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):
a=map(int,input().split())
for i in range(1,6):
    if a[i-1]==0:
        print(i)
        break

a=list(map(int,input().split()))
for i in range(1,6):
    if a[i-1]==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 = list(map(int, input().split()))

print(x)


x = list(map(int, input().split()))
 
for a in range(len(x)):
  if x[a] == 0:
    print(a+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):
n = map(int, input().split())
for i in range(5):
  if n[i] == 0:
    print(i+1)
	exit()

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):
X, N = map(int, input("").split(" "))
p = list(map(int,input().split()))
p.sort()
q = [i+1 for i in range(-2*X,2*X)]

ans = 0
diff = 100

for i in q:
    if (abs(X - i) < diff and (not i in p)):
        ans = i
        diff = abs(X-i)
print(ans)


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

for i in range(len(l)):
    if (l[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 = list(map(int,input().split()))
for i in range(X):
  if X[i] == 0:
    print(i+1)

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, y = map(int, input().split())
a = y - 2*x
if a < 0:
    print("No")
elif a > x:
    print("No")
elif a % 2 == 0:
    print("Yes")
elif a == 0:
    print("Yes")

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,Y=map(int,input().split())

if 2*X<Y<4*X and (Y-2*X)%2==0 and (4*X-Y)%2==0:
    print("Yes")
elif (4*X-Y)/2==1 and (Y-2*X)/2==0:
    print("Yes")
elif (4*X-Y)/2==0 and (Y-2*X)/2==1:
    print("Yes")
else:
    print("No")

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

if var[0]==0:
    print(1)
elif var[1]==0:
    print(2)
elif var[2]==0:
    print(3)
elif var[3]==0:
    print(4)
elif var[4]==0:
    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):
a, b, c, d, e=(int(x) in input().split())
list=[a, b, c, d, e]
for num in list:
  if num=1:
    print((list.index(num))+1)
    

a,b,c,d,e=(int(x) for x in input().split())
if a==1:
  print(1)
elif b==1:
  print(2)
elif c==1:
  print(3)
elif d==1:
  print(4)
elif e==1:
  print(5)

def sunukeaho(a, b, c, d, e):
	input("番号を入力しろ")
    if a==o:
    	print(1)
	elif b==o:
    	print(1)
	elif c==o:
    	print(1)
	elif d==o:
    	print(1)
    elif e==o:
    	print(1)
   
  
  

def sunuke(a, b, c, d, e):
  a, b, c, d, e=(int(x) for x input().split())
  list=[a, b, c, d, e]
  for num in list:
    if num==1:
      print(list.index(num)+1)
  

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

Verdicts: Runtime Error

Wrong Answer

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,j in enumerate(x):
  if j == 0:
    print(i)
    

x=list(map(int,input().split()))
for i in enumerate(x):
  if i[1]==0:
    print(i[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):
import numpy as np


def getNearestValue(list, num):
    

    
    idx = np.abs(np.asarray(list) - num).argmin()
    return list[idx]


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


listHandred = []
for i in range(0,102):
    listHandred.append(i)
    
ansList = listHandred

for i in list:
    if i in ansList:
        ansList.remove(i)

print(getNearestValue(ansList,X))


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):
r = 1
for i in range(input().split(' ')):
 r ^= int(i)
print(r)

r = 1
for i in input().split(' '):
 r ^= int(i)
print(r)


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(int, input())

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

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

for i in range(5):
  if l[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):
from bisect import bisect_left, bisect_right

n = int(input())
a = list(map(int, input().split()))
a.sort()
m = a[-1]
c = [0] * (m + 1)

for ai in a:
    for i in range(ai, m + 1, ai):
        if bisect_right(a, i) - bisect_left(a, i) == 1:
            c[i] += 1

print(c.count(1))

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

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):
nums = [int(s) for s in input().split(" ")]
print(nums)
for i in range(len(nums)):
    if nums[i] == 0:
        print(i + 1)

nums = [int(s) for s in input().split(" ")]
for i in range(len(nums)):
    if nums[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):
ind = 1
for i in a:
    if i == '0':
        print(ind)
        break
    ind += 1

a = input().split()
ind = 1
for i in a:
    if i == '0':
        print(ind)
        break
    ind += 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):
p=list(map(int,input().split()))
count=1
for item in p:
  if item==0:
    return count
  else:
    count+=1
    
  


p=list(map(int,input().split()))
count=1
for item in p:
  if item==0:
    print(count)
  else:
    count+=1
    continue
    
  


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())
A = list(map(int,input().split()))
for d in range(X+1):
  for i in [+1,-1]:
    B = X + d*i
    if A.count(B) == 0:
      print(B)
      exit(0)

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

llist = list(map(int,input().split()))
print(llist.index(0)+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):
n = input().spilt()
for i, j in range(n):
  if j == '0':
    print(i+1)
    exit()

n = input().split()
for i, j in enumerate(n):
  if j == '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 = input().split(" ")
for i in range(len(x)):
  if x[i] == 0:
    print (str(i))
    break

x = input().split(" ")
for i in range(len(x)):
  if int(x[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):
# -*- coding: utf-8 -*-
a, b, c, d, e = map(int, input().split())

suuji_list = ["", a, b, c, d, e]

print(list.index(0))


# -*- coding: utf-8 -*-
a, b, c, d, e = map(int, input().split())
 
suuji_list = ["", a, b, c, d, e]
 
print(suuji_list.index(0))

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,*a=map(int,open(0).read().split())
i = 0
while a:
    if a.count(a[0]) == 1:
        i+=1
    a = list(filter(lambda x: x%a[0] >0,a))
print(i)

_, *a = map(int, open(0).read().split())
a.sort()
m = -~a[-1]
c = [0] * m
for i in a:
    c[i] += 1
    if c[i] > 1:
        continue
    for j in range(i * 2, m, i):
        c[j] = 2
print(sum(c[i]for i in a))

#!/usr/bin/env python3

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


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):
a1 = input()
a2 = input()
a3 = input()
a4 = input()
a5 = input()
if a1 == 0:
  print(1)
if a2 == 0:
  print(2)
if a3 == 0:
  print(3)
if a4 == 0:
  print(4)
if a5 == 0:
  print(5)


a1,a2,a3,a4,a5 = map(int, input().split())
ans = [a1,a2,a3,a4,a5]
print(ans.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,c,d  =map(int, input().split())

if(a==0):
    print("1")

elif(b==0):
    print("1")

elif(c==0):
    print("1")

elif(d==0):
    print("1")

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")
    
elif(e==0):
    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):
a,b,c,d,e=map(int,input().split()))
if(a==0):
    print(1)
if(b==0):
    print(2)
if(c==0):
    print(3)
if(d==0):
    print(4)
if(e==0):
    print(5)

n=int(input())
l=list(map(int,input().split()))
a=[0]*(10**6+1)
for i in range(n):
    if(a[l[i]]==0):
       for j in range(2*l[i],10**6+1,l[i]):
           a[j]=2
    a[l[i]]+=1
print(a.count(1))       


a,b,c,d,e=map(int,input().split())
if(a==0):
    print(1)
if(b==0):
    print(2)
if(c==0):
    print(3)
if(d==0):
    print(4)
if(e==0):
    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):
import numpy as np
X, N = map(int, input().split())
p_list = set([int(i) for i in input().split()])
set_all = set(np.arange(-100, 101))
ex_list = set_all-p_list
ex_list = list(ex_list)
diff_list = [np.abs(i-X) for i in ex_list]
min_index = np.argmin(diff_list)
print(ex_list[min_index])

import numpy
input_x = [int(i) for i in input().split(" ")]
for i in range(5):
    if not i+1 in input_x:
        print(i)

import numpy
input_x = [int(i) for i in input().split(" ")]
for i in range(5):
    if not i+1 in input_x:
        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):
def main():
    from operator import itemgetter
    import sys
    sys.setrecursionlimit(10**9)
    input = sys.stdin.readline

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

main()

def main():
    from operator import itemgetter
    import sys
    sys.setrecursionlimit(10**9)
    input = sys.stdin.readline

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

main()

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

x_ = list(map(int, input().split()))
 
for i in range(len(x_)):
  if x_[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):
n = int(input())
s = [int(i) for i in input().split()]
l = 0
for i in range(n):
  for j in range(n):
    if (s[i] == s[j] or s[i]%s[j] == 0) and (i != j):
      l += 1
      break
print(len(s)-l)


n = int(input())
s = [int(i) for i in input().split()]
s = set(s)
for i in s:
	for j in s:
		if i == j or i%j == 0:
			s.remove(i)
			s.add(-i)
			break
l = [i for i in s if i >= 0]
print(len(l))

x = [int(i) for i in input().split()]
print(x.index(0)+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,n=map(int,input().split())
import sys
if n==0:
    _=input()
    print(x)
    sys.exit()
    
p_list=list(map(int,input().split()))
r=list(range(100))
a=list(set(r)-set(p_list))

ans=100000
kkk=100000
for i in a:
    tem=abs(i-x)
    if ans>tem:
        ans=tem
        kkk=i
    
print(kkk)

a=input().split()
for i in range(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):
x = list(map(int,input().split()))

for i in range(5):
    if i == 0:
        print(i)

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

for i in range(5):
    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):
data = list(map(int, input().split()))
p = data.find(0)
print(p+1)

data = list(map(int, input().split()))
p = data.index(0)
print(p+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())
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())
if y%2==0 and 2*x<=y and y<=4*x:
    print('Yes')
else:
    print('No')

a=list(map(int,input().split()))
count=1
for x in a:
  if x!=0:
    count+=1
  else:
    break
print(count)


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):
length=int(input())
list=list(map(int,input().split()))
list.sort()
max=list[-1]
dp=[True]*(max+1)
ret=0
for num in list:
    if dp[num]:
        if list.count(num)!=1:
            dp[num]=False
        else:
            ret=ret+1
            i=2
            num2=num*i
            while num2<max+1:
                if num2 in list:
                    dp[num2]=False
                i=i+1
                num2=num*i
print(ret)

input=[input().split() for i in range(2)]
length=int(input[0][0])
list=[]
for i in range(length):
    list.append(int(input[1][i]))
ret=0
list.sort()
for i in range(length):
    flg=True
    num=list[i]
    if list.count(num)==1:
        for j in range(i+1):
            if i!=j and num%list[j]==0:
                flg=False
                break
        if flg:
            ret=ret+1
print(ret)

input=input()
x = 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):
X, Y = map(int, input().split())

for i in range(X+1):
    foot=i*2+(X-i)*4
    if foot==Y:
        print('Yes')
        exit()

print('No')

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

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

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

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

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

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

Verdicts: Runtime Error

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):
arr = list(map(int, input().split()))

for i in arr:
    if i == 0:
        print(i)
        exit()


arr = list(map(int, input().split()))
print(arr.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):
user_input = list(map(int, input().split()))
# print(user_input)
# to find the index where zero is located
indexOfZero = [x for x in range(0, 5) if user_input[x] == 0]
print(indexOfZero[0])

user_input = list(map(int, input().split()))
# print(user_input)
# to find the index where zero is located
indexOfZero = [x for x in range(0, 5) if user_input[x] == 0]
print(indexOfZero[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()))

if X[0]==0:
  print(1)
 elif X[1] == 0:
    print(2)
 elif X[2] == 0:
    print(3)
 elif X[3] == 0:
    print(4)
 else:
    print(5)


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

if X[0]==0:
  print(1)
  elif X[1] == 0:
    print(2)
    elif X[2] == 0:
      print(3)
      elif X[3] == 0:
        print(4)
        else:
          print(5)

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

if X[0]==0:
  print(1)
elif X[1] == 0:
  print(2)
elif X[2] == 0:
  print(3)
elif X[3] == 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):
x = list(map(int, input().split()))
counter = 0
for i in x:
  counter += 1
  if x == 0:
    print(counter) 

x = list(map(int, input().split()))
counter = 0
for i in x:
  counter += 1
  if i == 0:
    print(counter)

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()))
x = sum(x)
ans = 15-x
print(ans)

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

x  = list[map(int,input().split())]
x = sum(x)
ans = 15-x
print(ans)

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

x  = (list[map(int,input().split()))
x = sum(x)
ans = 15-x
print(ans)
          

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


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):
x, y = [int(x) for x in input().split()]
if 4 * x >= y and (y%4 ==0 or (y %2 == 0 and (y-2)%4==0)):
  print("Yes")
else:
  print("No")


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

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):
nums = input().split()
nums = list(map(int, nums))
print('hoge')
for i, n in enumerate(nums):
    if n == 0:
        print(i + 1)


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

for i, n in enumerate(nums):
    if n == 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):
x1=int(input())
x2=int(input())
x3=int(input())
x4=int(input())
x5=int(input())
if x1==0:
    print('x1')
if x2==0:
    print('x2')
if x3==0:
    print('x3')
if x4==0:
    print('x4')
if x5==0:
    print('x5')


x1=int(input())
x2=int(input())
x3=int(input())
x4=int(input())
x5=int(input())
if x1==0:
    print(1)
if x2==0:
    print(2)
if x3==0:
    print(3)
if x4==0:
    print(4)
if x5==0:
    print(5)


A, B, C, D, E = map(int, input().split())

if A == 0:
    print(1)
if B == 0:
    print(2)
if C == 0:
    print(3)
if D == 0:
    print(4)
if E == 0:
    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):
a = [int(i) for i in input().split()]
print(a)
for idx in range(len(a)):
    x = a[idx]
    if x == 0:
        print(idx + 1)


a = [int(i) for i in input().split()]
for idx in range(len(a)):
    x = a[idx]
    if x == 0:
        print(idx + 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):
line=input().split(" ")
j=0
for i in line:
  j=j+1
  if i==0:
    print(j)

line=input().split(" ")
j=0
for i in line:
  j=j+1
  if i=="0":
    print(j)



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):
str = input()
data = str.strip().split()
for i in range(5):
  print(data[i])
  if data[i] == "0":
     print(i+1)
     break

str = input()
data = str.strip().split()
for i in range(5):
  if data[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 = input().split()
for i in range(0,5):
  if (i + 1) == int(a[i]):
    continue
  else:
    print(a[i])


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(0,5):
  if i + 1 == int(a[i]):
    continue
  else:
    print(a[i])

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


Verdicts: Wrong Answer

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 = input().split()
print(x.index("0"))

x = 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):
def main():
    x, n = map(int, input().split())
    p = list(map(int, input().split()))
    _near = 0
    for i in range(101):
        if i in p:
            continue
        if abs(_near - x) > abs(i - x):
            if _near > i:
                _near = i
    print(_near)


if __name__ == "__main__":
    main()


def main():
    a = list(map(int, input().split()))
    for i, x in enumerate(a):
        if x == 0:
            print(i + 1)



if __name__ == "__main__":
    main()


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()
j = 1
for i in a:
  if i ==0 :
    print(j)
    j++

c = input()
c = c.split(' ')
x = int(c[0])
y = int(c[1])
sa = 4 * x -y
sa /=2
sb = x - sa
all = sa * 2 + sb * 4
if all == y and 100 >= sa >=0 and 100 >= sb >= 0:
  print('Yes')
else:
  print('No')

x = input()
x = x.split(' ')
j = 1
for i in x:
  if i == '0':
    print(j)
  j = j+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):
x = list(map(int,input().split()))
for i in range(5):
  if x[i] == 0:
    print(i)
  else:
    pass

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

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 = input().split()
x = int(x)
y = int(y)

def check(x, y):
    
    for i in range(0, x):
        
        leg2_animal = i
        leg4_animal = x - leg2_animal
        
        
        sum_legs = leg2_animal * 2 + leg4_animal * 4

        if sum_legs == y:
            print("Yes")
            return

    print("No")

check(x,y)

import random

a = input().split()

for i in range(0, len(a)):
  x = int(a[i])
  
  if x == 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):
input_list = input().split(" ")
[print(i+1) for i in range(len(input_list)) if input_list[i]!=i+1]

input_list = list(map(lambda x:int(x),input().split(" ")))
[print(i+1) for i in range(len(input_list)) if input_list[i]!=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 = list(map(int, input().split()))
x_l = [1,2,3,4,5]

for i in range(ren(x_l)):
    if x_l[i] != x[i]:
        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

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):
c=list(map(int, input().split()))
c = str(c)
c = c.find(0)
print(c)

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

index = a.find(0)
print(index)

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

c=list(map(int, input().split()))
print(c.find(0))

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

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):
a,b,c,d,e = map(int, input().split())
r = o
if a = 0:
  r = a
  else if b = 0:
    r = b
  else if c = 0:
    r = c
  else if d = 0:
    r = d
  else if e = 0:
    r = e
print(r)

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


if num_list[0] == 0:
  print(1)
elif num_list[1] == 0:
  print(2)
elif num_list[2] == 0:
  print(3)
elif num_list[3] == 0:
  print(4)
elif num_list[4] == 0:
  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):
l = list(map(int, input().split()))

c = 0
for x in l:
    if x == 0:
        print(c)
    c++

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

c = 1
for x in l:
    if x == 0:
        print(c)
    c += 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,c,d,e=[int(input()) for i in range(4)]
if i == 0:
    print(range(i))


a,b,c,d,e=map(int,input().split())
list=[a,b,c,d,e]
for i in list():
    if i==0:
        print(list.index(i)+1) 


a,b,c,d,e = int(input())
lists = ['a', 'b', 'c', 'd', 'e']
for i in range(lists(4)):
    if i == 0:
        print(i)

a=list(map(int,input().split()))
print(a.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):
X, N = map(int, input().split())
p = list(map(int, input().split()))

not_in_p = list(range(1,101))
for pn in p:
    if pn in not_in_p:
        not_in_p.remove(pn)

diff_p = []
for not_in_pn in not_in_p:
    diff_p.append(abs(not_in_pn - X))
min_value_index =  [j for j, value in enumerate(diff_p) if value == min(diff_p)]

answer = 0
for index in min_value_index:
    if answer == 0:
        answer = not_in_p[index]
    elif answer > not_in_p[index]:
        answer = not_in_p[index]

print(answer)

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):
X, N = map(int, input().split())
p = list(map(int, input().split()))

for d in range(X + 1):
    if X - d not in p:
        print(X-d)
        exit()
    elif X + d not in p:
        print(X+d)
        exit()


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

for d in range(X + 1):
    if (X - d) not in p:
        print(X-d)
        exit()
    elif (X + d) not in p:
        print(X+d)
        exit()

import numpy as np
x = list(map(int, input().split()))

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

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):
i = input()
p = i.index(0) + 1
print(p)

i = input().split(' ')
l_si_i = [int(s) for s in i]
p = l_si_i.index(0) + 1
print(p)

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()))
Adic={}
for i in range(N):
  if A[i] not in Adic:
    Adic[A[i]] = 1
  else:
    Adic[A[i]] += 1
Aset = set(A)
if 1 in Aset: 
  if Adic[1] == 1:
    print(1)
  else:
    print(0)
  exit()
ans = 0
for j in range(N):
  Flag = True
  temp = A[j]
  i = 2
  if Adic[temp] >= 2:
    continue
  while i*i <= temp:
    #print(i,temp)
    if temp%i == 0:
      #print(i,temp//i,temp)
      if i in Aset or temp//i in Aset:
        Flag = False
        #print(i,temp//i,"X")
        break
    i += 1
  if not Flag:
    continue
  ans += 1
print(ans)

A = list(map(int,input().split()))
s = sum(A)
ans = 15-s
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):
n = list(map(int, input().split()))

x = s.index(0)
print(x + 1)

n = list(map(int, input().split()))
s = n.index(0)
print(s + 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()
print(a.find("0"))

a=input()
a=a.replace(" ","")
print(a.find("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().strip().split()))
for i in range(len(x)):
  if x[i]==3:
    print(i+1)
    break

x= list(map(int, input().strip().split()))
for i in range(len(x)):
  if x[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 = list(map(int,input()))

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

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

x = list(map(int,input()))
for i in range(5):
  if find 0 in x:
    print(i)

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

for i in len(5):
  if X[i]==0:
    print(i+1)
    

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

for i in X:
  if X[i]==0:
    print(i+1)
    

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

for i in len(5):
  if X[i]==0:
    print(i+1)
    

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

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

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted