Problem:


Score : 100 points

Problem Statement

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.

Constraints

The values of x_1, x_2, x_3, x_4, and x_5 given as input are a possible outcome of the assignment by Snuke.

Input

Input is given from Standard Input in the following format:

x_1 x_2 x_3 x_4 x_5

Output

If the variable Snuke assigned 0 was x_i, print the integer i.

Sample Input 1

0 2 3 4 5

Sample Output 1

1

In this case, Snuke assigned 0 to x_1, so we should print 1.

Sample Input 2

1 2 0 4 5

Sample Output 2

3



Sample input:
0 2 3 4 5


Sample output:
1

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
from collections import defaultdict,deque
from heapq import heappush, heappop
from bisect import bisect_left, bisect_right
import sys, random, itertools, math
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
sqrt = math.sqrt
def LI(): return list(map(int, input().split()))
def LF(): return list(map(float, input().split()))
def LI_(): return list(map(lambda x: int(x)-1, input().split()))
def II(): return int(input())
def IF(): return float(input())
def S(): return input().rstrip()
def LS(): return S().split()
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = float("INF")

#solve
def solve():
    x = LI()
    print(x.index(0))
    return


#main
if __name__ == '__main__':
    solve()

Submission status: Wrong Answer

Solution code:
arr = list(map(int, input().split()))
for i in range(4):
    if(arr[i] == 0):
        print(i + 1)

Submission status: Wrong Answer

Solution code:
l = list(map(int,input().split()))

cnt = 0
for i,s in enumerate(l):
  
  if s == 0:
    print(i)
    exit()
  else:
    pass

Submission status: Wrong Answer

Solution code:
print(input().index("0") + 1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = list(map(int, input().split()))
for i in X:
    if i == 0:
        print(i+1)

Submission status: Wrong Answer

Solution code:
def binary_search(list, item):
  
  low = 0
  high = len(list) - 1
  
  while low <= high:
    # ... check the middle element
    mid = (low + high) // 2
    guess = list[mid]
    if guess == item:
      return mid
    if guess > item:
      high = mid - 1
    else:
      low = mid + 1
  return None

my_list = [1,2,0,4,5]
print(binary_search(my_list,5)) # => 1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
arr = list(map(int, input().split()))

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

Submission status: Wrong Answer

Solution code:
import sys
import math
import itertools
from copy import copy
from collections import deque,Counter
from decimal import Decimal
def s(): return input()
def i(): return int(input())
def S(): return input().split()
def I(): return map(int,input().split())
def L(): return list(input().split())
def l(): return list(map(int,input().split()))
def lcm(a,b): return a*b//math.gcd(a,b)
sys.setrecursionlimit(10 ** 9)
mod = 10**9+7

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

Submission status: Wrong Answer

Solution code:
x = list(map(int, input().split()))

print(x)

Submission status: Wrong Answer

Solution code:
lista = list(map(int,input().split()))
for n in range(1,5):
  if lista[n-1] != n:
    print(n)

Submission status: Wrong Answer

Solution code:
import sys

X = list(map(int, input().split()))
def no_print():
  print('No')
  sys.exit()
 
def number_check():
  turtle = X[0]
  crane = 0
  i = 0
  while i < X[0]:
    result = turtle * 4 + crane * 2 
    if result > X[1]:
      crane += 1
      turtle -= 1
    if result == X[1]:
      print('Yes')
      break
    if result < X[1]:
      turtle += 1
      crane -= 1
    i += 1

if X[0] > 100 or X[1] > 100:
  no_print()
if X[1] > X[0]*4 or X[1] < X[0]*2:
  no_print()
if X[1] % 2 == 1:
  no_print()
number_check()

Submission status: Wrong Answer

Solution code:
X = list(map(int, input().split()))
def no_print():
  print('No')
  exit
 
def number_check():
  turtle = X[0]
  crane = 0
  i = 0
  while i < X[0]:
    result = turtle * 4 + crane * 2 
    if result > X[1]:
      crane += 1
      turtle -= 1
      print(crane)
      print(turtle)
    if result == X[1]:
      print('Yes')
      break
    if result < X[1]:
      turtle += 1
      crane -= 1
      print(crane)
      print(turtle)
    i += 1

if X[0] > 100 or X[1] > 100:
  no_print()
if X[1] > X[0]*4 or X[1] < X[0]*2:
  no_print()
if X[1] % 2 == 1:
  no_print()
number_check()

Submission status: Wrong Answer

Solution code:
x = list(map(int,input().split()))

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

Submission status: Wrong Answer

Solution code:
list1 = list(map(int, input().split()))


for i in range(1,5):
  if list1[i-1] != i:
    print(i)

Submission status: Wrong Answer

Solution code:
ins = input().split()
if ins[0] == 0:
	print(1)
elif ins[1] == 0:
	print(2)
elif ins[2] == 0:
	print(3)
elif ins[3] == 0:
	print(4)
elif ins[4] == 0:
	print(5)

Submission status: Wrong Answer

Solution code:
def sunuke():
    x=list(map(int, input().split()))
    for i in range(0,len(x)):
        if x[i]==0:
            return i
print(sunuke())

Submission status: Wrong Answer

Solution code:
x = [0] * 5
x = input().split()
x = [int(_) for _ in x]
print(x)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def main():
    x = list(map(int,input().split()))
    for i in range(len(x)):
        if i==0 :
            print(i+1)
            break


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
L = input().split()

ans = 0
for i, l in enumerate(L):
    if l == 0:
        ans = i+1
        
print(ans)

Submission status: Wrong Answer

Solution code:
a=list(input())
for i in range(5):
  if a[i]=='0':
    a[i]=i
    print(i-1)

Submission status: Wrong Answer

Solution code:
a=list(input())
for i in range(5):
  if a[i]=='0':
    a[i]=i
    print(i)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print(input().index('0')+1)

Submission status: Wrong Answer

Solution code:
a = list(map(int, input().split()))

print(a.index(0))

Submission status: Wrong Answer

Solution code:
N = list(map(int, input().split())) 

lst = N

def func1(lst, value):
    return [i for i, x in enumerate(lst) if x == value]


  
print(func1(lst, 0))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
i= '12345'
print(i[0])

Submission status: Wrong Answer

Solution code:
l=list(map(int,input().split()))
for i in l:
  if(i==0):
    print(i)
    break

Submission status: Wrong Answer

Solution code:
def calc():
    n, *a = map(int, open(0).read().split())
    if n == 0:
        return 0
    if n == 1:
        return 1

    appear = {}
    for x in a:
        if x in appear:
            appear[x] = False
        else:
            appear[x] = True

    r = set(a)
    count = 0
    for x in r:
        s = r & divs(x)
        if not s and appear[x]:
            count += 1
    return count

def divs(n):
    ds = set()
    for i in range(2, int(n ** 0.5) + 1):
        if n % i == 0:
            ds.add(i)
            if i != n // i:
                ds.add(n//i)
    return ds

print(calc())

Submission status: Wrong Answer

Solution code:
x=input()
print(x.index('0')+1)

Submission status: Wrong Answer

Solution code:
#atcoder1問目
x=input()
print(x.index('0')+1)

Submission status: Wrong Answer

Solution code:
x = list(map(int,input().split()))
print(x.index(0))

Submission status: Wrong Answer

Solution code:
x  = list(map(int, input().split()))
print(x.index(0))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#atcoder1問目
x=[1,2,3,4,5]
x[3]=input()
if '0' in x:
    print(x.index('0')+1)

Submission status: Wrong Answer

Solution code:
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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
vec = [1,2,3,4,5]
for i in range(0,5):
  vec[i] = 0
  if i>= 1:
    vec[i-1]=i
  print(str(vec) + "のとき" + str(i+1) )

Submission status: Wrong Answer

Solution code:
c=list(map(int, input().split())) 
for i,a in enumerate(c):
  if a ==0:
    print(i)

Submission status: Wrong Answer

Solution code:
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')

Submission status: Wrong Answer

Solution code:
l=list(map(int,input().split()))
print(l.index(0))

Submission status: Wrong Answer

Solution code:
x=input()
if '0' in x:
    print(x.index('0')+1)

Submission status: Wrong Answer

Solution code:
x = list(map(int, input().split()))

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

Submission status: Wrong Answer

Solution code:
nums = [int(e) for e in input().split()]
for i in range(0,4):
  if nums[i] == 0:
    print(i+1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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



if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def main():

        var = list(map(int, input().split()))
        if 1 not in var:
                ans = 1
        elif 2 not in var:
                ans = 2
        elif 3 not in var:
                ans = 3
        elif 4 not in var:
                ans = 4
        else:
                ans = 5

        return ans

Submission status: Wrong Answer

Solution code:
# coding: utf-8
a = input()
print(a.find('0')+1)

Submission status: Wrong Answer

Solution code:
x=[1,2,0,4,5]
if 0 in x:
    print(x.index(0)+1)

Submission status: Wrong Answer

Solution code:
x=[1,2,0,4,5]
if 0 in x:
    print(x.index(0))

Submission status: Wrong Answer

Solution code:
list = [1,2,3,4,5]
if print(list[0]):
  print(1)
elif print(list[1]):
  print(2)
elif print(list[2]):
  print(3)
elif print(list[3]):
  print(4)
elif print(list[4]):
  print(5)

Submission status: Wrong Answer

Solution code:
var_list = map(int, input().split(" "))
var_list = list(var_list)
print(var_list)

for i, v in enumerate(var_list):
    print(v)
    if v == 0:
        arg = i

print(arg + 1)

Submission status: Wrong Answer

Solution code:
a = input()
print(a.find('0'))

Submission status: Wrong Answer

Solution code:
i = list(map(int, input().split()))
print(i.index(0))

Submission status: Wrong Answer

Solution code:
s = input().split()
print(s.index('0'))

Submission status: Wrong Answer

Solution code:
a,b,c,d,e = map(int,input().split())
if a == 0:
  print(a)
if b == 0:
  print(b)
if c == 0:
  print(c)
if d == 0:
  print(d)
if e == 0:
  print(e)

Submission status: Wrong Answer

Solution code:
X = list(map(int, input().split()))

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = {xn: idx for idx, xn in enumerate(map(int,input().split()))}
print(x[0])

Submission status: Wrong Answer

Solution code:
a = (1,2,4,5,0)
index = a.index(0)
print (index)

Submission status: Wrong Answer

Solution code:
A = list(map(int, input().split()))
print(A)

Submission status: Wrong Answer

Solution code:
def x(lst):
  return [i for i in lst if i == 0]
print(x([1,2,3,4,0]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
xy = [int(x) for x in input().split()]
X = xy[0]
Y = xy[1]
if Y%2 == 0 and 2*X< Y and Y<4*X:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
def pos_numbers(lst):
  return [x for x in lst if x == 0]
print(pos_numbers([-1,2,3,-4,0]))

Submission status: Wrong Answer

Solution code:
sunuke = list(map(int, input().split()))

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

Submission status: Wrong Answer

Solution code:
inpt = [0,2,3,4,5]
n = 0

for i in inpt:
  if inpt[n] == 0:
    print (n+1)
    break;
  else:
    n +=1

Submission status: Wrong Answer

Solution code:
inpt = []
n = 0

for i in inpt:
  if inpt[n] == 0:
    print (n+1)
    break;
  else:
    n +=1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
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]:
    print(5)

Submission status: Wrong Answer

Solution code:
x1, x2, x3, x4, x5 = input().split()
x = list()
x.append(x1)
x.append(x2)
x.append(x3)
x.append(x4)
x.append(x5)
ans = 0
for i, j in enumerate(x):
  if int(j) == 0:
  	ans = j
print(int(ans))

Submission status: Wrong Answer

Solution code:
def code(nums):
  i = 0
  for num in nums:
      i += 1
      if num[i]== 0:
          return i

Submission status: Wrong Answer

Solution code:
import sys

def main(args):
    # given = [(i, int(args[i])) for i in range(len(args))]
    # ans = sorted(given, key=lambda elm: elm[1])
    # print(ans[0][1]+1)
    print(2)
    return 0
    ans = [1,2,3,4,5]
    given = [int(i) for i in args]

    for i in range(len(ans)):
        if ans[i] != given[i]:
            print(ans[i])
            return 0

main(sys.argv)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = list(map(int, input().split()))
def func(x):
    for i in range(x[0]+1):
        for j in range(x[0]+1):
            if i+j>x[0]:
                break
            elif i*2 + j*4 == x[2] or j*2 + i*4 == x[2]:
                print('Yes')
                return
    print('No')
    return
func(x)

Submission status: Wrong Answer

Solution code:
a,b,c,d,e = map(int,input(). split ())
x = [a,b,c,d,e]
for i in x:
    if i * 1 == 0:
        print(i)

Submission status: Wrong Answer

Solution code:
print(input().split().index('0'))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
vowels = [1,2,3,4,0]

index = vowels.index(0)
print(index)

Submission status: Wrong Answer

Solution code:
a = []
a = list(map(int, input().split()))
print(a)

for i in range(len(a)):
    try:
        a.remove(i+1)
    except:
        print(i)
        break

Submission status: Wrong Answer

Solution code:
a = list(map(int,input("").split()))
for i in a :
    if i == 0 :
        print(a.index(i))
        break

Submission status: Wrong Answer

Solution code:
a = list(input())
b = int(a.index('0'))
print(b + 1)

Submission status: Wrong Answer

Solution code:
data = input().split()

print(data)

count = 0
for num in data:
    num2 = int(num)
    if num2 == 0:
        result = count
    count += 1

result += 1

print(result)

Submission status: Wrong Answer

Solution code:
import sys

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

i = 0
for i in range(4):
    if A[i] == 0:
        print(i + 1)

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline

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

i = 0
for i in range(4):
    if A[i] == 0:
        print(i + 1)

Submission status: Wrong Answer

Solution code:
xn = list(map(int, input().split()))
for i in xn:
  if i==0:
    print(i+1)
    exit()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = []
a = input().split()

for i in range(1, 5):
    try:
        a.remove(str(i))
    except:
        print(i)
        break

Submission status: Wrong Answer

Solution code:
x = list(map(int, input("").split()))

for i in range(1,5):
    if x[i-1] != i:
        print(i)

Submission status: Wrong Answer

Solution code:
a = list(map(int, input().split()))

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

Submission status: Wrong Answer

Solution code:
x = list(map(int,input().split()))
ans = x.index(0)

if ans == 0:
    a = x[2]-x[1]
    print(x[1]-a)
elif ans == 4:
    b = x[3]-x[2]
    print(x[-1]-b)
else:
    print((x[ans-1]+x[ans+1])//2)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = list(map(int, input().split()))
print(x.count('0') + 1)

Submission status: Wrong Answer

Solution code:
input_list = input().split(" ")
[print(i+1) for i in range(len(input_list)) if input_list[i]!=i+1]

Submission status: Wrong Answer

Solution code:
a = list(map(int,input().split()))


def index(a, x):
    if x in a:
        return a.index(x)

print(index(a, 0))

Submission status: Wrong Answer

Solution code:

n = []

n = input().split()

for i in range(5):
    n[i] = int(n[i])

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

Submission status: Wrong Answer

Solution code:
x = list(map(int, input().split()))

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

Submission status: Wrong Answer

Solution code:
a = list(map(int,input().split()))
X=a[0]
Y=a[1]

crain = (4*X-Y)/2
turtle = (Y-2*X)/2

if crain.is_integer() and crain >= 0:
    if turtle.is_integer() and turtle >= 0:
        print("Yes")
    else:
        print("False")
else:
    print("False")

Submission status: Wrong Answer

Solution code:
n = [int(i) for i in input().split()]
count = 0
for i in n:
    if i == 0:
        print(n[count]+1)
    count += 1

Submission status: Wrong Answer

Solution code:
a = input().split(" ")
temp = 0
for i, ai in enumerate(a):
    print(ai)
    if int(ai)==0:
        temp=i

print(temp+1)

Submission status: Wrong Answer

Solution code:
x = input()
j = 1
for i in x:
  if i == '0':
    print(j)
    j = j+1

Submission status: Wrong Answer

Solution code:
a, b, c, d, e = map(int, input().split())
if a== 0:
    print(1)
elif b== 0:
    print(a)
elif c== 0:
    print(a+b)
elif d== 0:
    print(a+b+c)
elif e==0:
    print(a+b+c+d)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = list(map(int,input().split()))

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

Submission status: Wrong Answer

Solution code:
X = [int(i) for i in input().split()]
for c, x in enumerate(X):
  if x == 0:
  	print(c)

Submission status: Wrong Answer

Solution code:
x1: int = 0
x2: int = 2
x3: int = 3
x4: int = 4
x5: int = 5

ls = [x1, x2, x3, x4, x5]

i = 0
while i < len(ls):
    if ls[i] == 0:
        print(i+1)
    i += 1

Submission status: Wrong Answer

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

result = 15 - (A+B+C+D+E)

Submission status: Wrong Answer

Solution code:
x=list(map(int,input().split()))
print(x.index(0))

Submission status: Wrong Answer

Solution code:
a = input().split(" ")
temp = 0
for i, ai in enumerate(a):
    if ai==0:
        temp=i

print(temp+1)

Submission status: Wrong Answer

Solution code:
a = input()

l = a.split()
print(l)
for i in range(5):
    if l[i]=='0':
        print(i+1)

Submission status: Wrong Answer

Solution code:
A= map(int,input().split())
lists= list(A)
for i in range(5):
    if lists[i-1]==0:
        print(i)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
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 x3 == 0:
    print("4")

else:
    print("5")

Submission status: Wrong Answer

Solution code:
arr = [1,2,3,0,5]
def find(x):
  if x == 0:
    return arr[i]

Submission status: Wrong Answer

Solution code:
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 e == 0:
    print(4)
else:
  print(5)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
li = input().split()

ans = 0
i=0
for i in range(len(li)):
    if li[i] == 0:
        ans = i

print(ans+1)

Submission status: Wrong Answer

Solution code:
a, b, c, d, e = map(int, input().split())
if a== 0:
    print(1)
else:
    print(3)

Submission status: Wrong Answer

Solution code:
x=input()
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)

Submission status: Wrong Answer

Solution code:
x1, x2, x3, x4, x5 = input().split()

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

Submission status: Wrong Answer

Solution code:
n=input()
x = n.find('0')

print(int(x)+1)

Submission status: Wrong Answer

Solution code:
ls = list(map(int,input().split()))
for num in range(4):
    if ls[num] == 0:
        print(num+1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
NumList = list(map(int,input().split()))
isAssein = 0
for i in range(len(NumList)):
    if(i == 0):
        isAssein = (i + 1)

print(isAssein)

Submission status: Wrong Answer

Solution code:
a,b,c,d,e  = map(int,input().split())
if a!=1:
    print(1)
elif b!=2:
    print(2)
elif b!=3:
    print(3)

elif b!=4:
    print(4)

elif b!=5:
    print(5)

Submission status: Wrong Answer

Solution code:
from sys import stdin

s1=list(map(int,stdin.readline().split()))

for i in range(len(s1)):
    if i != s1[i]:
        print(i)
        break

Submission status: Wrong Answer

Solution code:
s = list(map(int,input().split()))

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = list(map(int, input().split()))

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

Submission status: Wrong Answer

Solution code:
a, b, c,d,e = map(int, input().split())
nums1=[1,2,3,4,5]
nums2=[a,b,c,d,e]
print(set(nums1) - set(nums2))

Submission status: Wrong Answer

Solution code:
x = input().split()

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

Submission status: Wrong Answer

Solution code:
a=input().split(" ")
b=0
for i in range(0,4):
	b=b+1
	if int(a[i])==0:
		print(b)

Submission status: Wrong Answer

Solution code:
l = list(map(int,input().split()))

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

print(cnt)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x1, x2, x3, x4, x5 = input().split()
if x1 == 0:
  print(1)
if x2 == 0:
  print(2)
if x3 == 0:
  print(3)
if x4 == 0:
  print(4)
else:
  print(5)

Submission status: Wrong Answer

Solution code:
a , b ,c ,d ,e = map(int, input().strip().split())

list = []
list.append(a)
list.append(b)
list.append(c)
list.append(d)
list.append(e)
count = 0
for i in range(0, len(list)-1):
    if list[i]==0:
        count = i+1
        break
print(count)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n=str(input())
x = n.find('0')

print(int(x)+1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#A
x = list(map(int, input().split()))

print(x[x.index(0)] + 1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
nums = [int(s) for s in input().split(" ")]
print(nums)
for i in range(len(nums)):
    if nums[i] == 0:
        print(i + 1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
vs = map(int,input().split())
for a in vs:
    if a == 0:
        print(a)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=list(map(int,input().split()))
a.sort()
ans=0
for i in range(1,3):
  if a[i+1]-a[i]!=1:
    ans=a[i]

if ans==0:
  print(1)
else:
  print(ans+1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np

def main():

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

        return var.index(0)+1

Submission status: Wrong Answer

Solution code:
x = list(map(int, input().split()))
d = max(x[2] - x[1], x[1] - x[0])
if x[0] == 0:
    print(x[1] - d)
elif x[1] == 0:
    print(x[2] - d)
elif x[2] == 0:
    print(x[3] - d)
elif x[3] == 0:
    print(x[4] - d)
elif x[4] == 0:
    print(x[3] + d)

Submission status: Wrong Answer

Solution code:
list_input = list(map(int, input().split()))

i = list_input.index(0)

print(i)

Submission status: Wrong Answer

Solution code:
variable = input().split()
print(variable.index("0"))

Submission status: Wrong Answer

Solution code:
x1 = 0
x2 = 2
x3 = 3
x4 = 4
x5 = 5

ls = [x1, x2, x3, x4, x5]

for i in ls:
    if(i == 0):
        print(i)

Submission status: Wrong Answer

Solution code:
# 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

Submission status: Wrong Answer

Solution code:
x=input()
for i in range(0,5):
    if x[i]==0:
        print(i)
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(ans)

Submission status: Wrong Answer

Solution code:
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()  # ignore trailing spaces

x = na()
c = 0
for i in x:
  c += 1
  if i == 0:
    c = i
print(c+1)

Submission status: Wrong Answer

Solution code:
N = list(map(int, input().split()))


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

Submission status: Wrong Answer

Solution code:
x = list(map(int, input().split()))

for y in range(0, len(x) - 1):
    if x[y] == 0:
        print((int)(y) + 1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=input().split(' ')
m=len(a)
b=0
while b<m:
    if a[b]=='0':
        print(b)
    b=b+1

Submission status: Wrong Answer

Solution code:
number = input()
number_list = number.split()
for n in number_list:
  if n == 0:
    print(number_list.index(n) + 1)

Submission status: Wrong Answer

Solution code:
xs = map(int, input().split())

for x, i in enumerate(xs):
  if x == 0:
    ans = i + 1

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = list(map(int,input().split()))

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

Submission status: Wrong Answer

Solution code:
a=list(map(int,input().split(" ")))
for j in range(1,6):
  if(a[j]!=j):
    print(j)
    break

Submission status: Wrong Answer

Solution code:
import numpy as np

n = np.array(list(map(int, input().split())))

val = np.where(n == 0)

print(val[0]+1)