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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

i = 0
while True:
    if int(num_list[i]) == 0:
        print(i + 1)
        break
    i += 1

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

five_variables()

Submission status: Accepted

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

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

Submission status: Accepted

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

print(x.index(0) + 1 )

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

print(15-sum(a))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(X.index(0) + 1)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:

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

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
def resolve():
    X = list(map(int, input().split()))
    print(X.index(0)+1)

if '__main__' == __name__:
    resolve()

Submission status: Accepted

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

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

Submission status: Accepted

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)
  
elif x5 == 0:
  print(5)

Submission status: Accepted

Solution code:
x = list(map(int,input().split()))
x.reverse()
a = x.index(0)
if a == 4:
    print(x[a-1]-1)
else:
    print(x[a+1]+1)

Submission status: Accepted

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

print(A.index(0)+1)

Submission status: Accepted

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

num = len(k)

for i in range(num):
    if k[i] == "0":
        print(i+1)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(x.index(0)+1)

Submission status: Accepted

Solution code:
X = [int(v) for v in input().split()]

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print(input().find('0')//2+1)

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    x1, x2 , x3, x4, x5 = map(int, input().split())
    X = [x1, x2 , x3, x4, x5]
    for i in range(5):
        if X[i] == 0:
            print(i+1)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X=list(map(str,input().split()))
print(X.index("0")+1)

Submission status: Accepted

Solution code:
print (sum(range(6)) - sum(list(map(int, input().split()))))

Submission status: Accepted

Solution code:
pos = 0
for n in map(int, input().split()):
    pos += 1
    if n == 0:
        break
print(pos)

Submission status: Accepted

Solution code:
print (15 - sum(list(map(int, input().split()))))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
lst = list(map(int, input().split()))
print(f"{lst.index(0) + 1}")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a = input().replace(' ', '')
print(a.find('0') + 1)

Submission status: Accepted

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

sum = 0
for a in kazu:
  sum = sum + int(a)

print(15-sum)

Submission status: Accepted

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

x = [a,b,c,d,e]

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

Submission status: Accepted

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

x = [a,b,c,d,e]

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
li = [int(i) for i in input().split()]
print(li.index(0) + 1)

Submission status: Accepted

Solution code:
a=[int(i) for i in input().split()]
 
for i,j in enumerate(a):
  if j==0:
    print(i+1)

Submission status: Accepted

Solution code:
a = [x for x in range(1, 6)]
b = [int(x) for x in input().split()]

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

Submission status: Accepted

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

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print([int(i) for i in input().split()].index(0) + 1)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

ans = [1,2,3,4,5]

for i in range(len(ans)):
  if xlist[i]!=ans[i]:
    print(ans[i])

Submission status: Accepted

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

for i in a:
    if a[i] == 0:
        o = i
        break
    else:
        pass

print(o+1)

Submission status: Accepted

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

ans = 0
for x in X:
  ans += 1
  if x == 0: break
    
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c,d,e=input().split()
a=int(a)
b=int(b)
c=int(c)
d=int(d)
e=int(e)
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')

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
values = [int(i) for i in input().split()]

print(values.index(0)+1)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(a.index(0) + 1)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3


def solve(xs: "List[int]"):
    for idx, x in zip(range(1, 6), xs):
        if x == 0:
            return idx


def main():
    x = list(map(int, input().split()))
    answer = solve(x)
    print(answer)


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys, math, itertools, collections, bisect
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
inf = float('inf') ;mod = 10**9+7
mans = inf ;ans = 0 ;count = 0 ;pro = 1

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

Submission status: Accepted

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

ans = 1

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = input().split()
ans = X.index('0')
print(int(ans)+1)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

for i in x:
    if i == 0:
        print(x.index(i) + 1)

Submission status: Accepted

Solution code:
a,b,c,d,e=input().split()
a=int(a)
b=int(b)
c=int(c)
d=int(d)
e=int(e)
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")

Submission status: Accepted

Solution code:
x = [int(v) for v in input().rstrip().split()]
i = x.index(0)
print(i + 1)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
Xs = list(map(int, input().split()))
x_len = len(Xs)
# print(x_len)

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

Submission status: Accepted

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

print(x.index(0)+1)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
l = [int(x.strip()) for x in input().split()]
print(l.index(0)+1)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
arr = list(map(int, input().split()))
for idx, num in enumerate(arr):
    if num == 0:
        print(idx+1)
        break
    else:
        continue

Submission status: Accepted

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

Submission status: Accepted

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

print(x.index(0)+1)

Submission status: Accepted

Solution code:
x = list(map(int, input().split()))
y = list(range(1,6))
for i in y:
    if i not in x:
        print(i)
        break

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
x = list(map(int, input().split()))
for i in range(1,6):
  if x[i-1]!=i:
    print(i)

Submission status: Accepted

Solution code:
print(15 - sum(list(map(int , input().split()))))

Submission status: Accepted

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

Submission status: Accepted

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 d == 0:
  print(4)
elif e == 0:
  print(5)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def solve():
    X = [int(i) for i in input().split()]
    for i in range(len(X)):
        if X[i] == 0:
            print(i+1)
            break

if __name__ == "__main__":
    solve()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import numpy as np

inp = np.array([int(a) for a in input().split()])
print(15 - np.sum(inp))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c,d,e=map(int,input().split())
print(15-(a+b+c+d+e))

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = list(input().split())
print(x.index("0")+1)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
X = list(map(int, input().split()))
sum = X[0] + X[1] + X[2] + X[3] + X[4]
print(15 - sum)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

for i in range(5):
    if get[i] == 0:
        ans = i

print(ans + 1)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    x_l = (input().split())
    print(x_l.index('0')+1)

Submission status: Accepted

Solution code:
l = input().split()
print(int(l.index('0'))+1)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
lst = list(map(int, input().split()))
print(str(lst.index(0) + 1))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input().split()
b = [int(s) for s in a]
print(15 - sum(b))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x1,x2,x3,x4,x5 = map(int,input().split())
P=[x1,x2,x3,x4,x5]
for i in range(5):
    if P[i]==0:
        print(str(i+1))
    else:
        continue

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
str = input()
data = str.strip().split()
for i in range(5):
  if data[i] == "0":
     print(i+1)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# Five Variables
x = list(map(int, input().split()))
print(x.index(0) + 1)

Submission status: Accepted

Solution code:
str = input()


data = str.strip().split()

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10 ** 7)

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

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

Submission status: Accepted

Solution code:
# Five Variables

print([i + 1 for i, n in enumerate(input().split()) if n == '0'][0])

Submission status: Accepted

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

for n in range(len(t)):
    if t[n] == 0:
        print(n+1)