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

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

print(N.index(0)+1)

Solution (Python):
def check(numbers):
    for i in range(0,5):
        if(numbers[i]==0):
            return i+1

if __name__ == "__main__":
    numbers = list(map(int,input().split()))
    print(check(numbers))

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

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

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

Solution (Python):
import sys
A = map(int, input().split())

i = 1
for v in A:
  if v == 0:
    print(i)
    sys.exit()
  else:
    i += 1

Solution (Python):
n = list(map(int, input().split())) 

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

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

Solution (Python):
a = list(map(str, input().split()))

print(a.index("0")+1)

Solution (Python):
n=input()
nn=n.replace(' ','')
x = nn.find('0')

print(int(x)+1)

Solution (Python):
x = list(map(int,input().split()))
ans = 0
for v in x:
    ans += 1
    if v == 0:
        break
print(ans)

Solution (Python):
import math

def 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)
      break
    else:
      continue
    
if __name__ == '__main__':
  main()

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

for i,value in enumerate(A):
    if value == 0:
        print(i+1)

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

Solution (Python):
line = input()
line = line.rstrip().split(' ')
x = []
for i in line:
    x.append(int(i))

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

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

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

Solution (Python):
l=list(map(int,input().split()))
ans=1
for i in l:
    if i is 0:
        print(ans)
        break
    else:
        ans+=1

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

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

Solution (Python):

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

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

Solution (Python):
import sys
n=list(map(int,input().split()))

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

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

Solution (Python):

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

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

Solution (Python):
inList = list(map(int,input().split()))

idx = 1
for wInt in inList:
    if (wInt == 0) :
        print(idx) 
    idx += 1

Solution (Python):
import sys

x = list(map(int,input().split()))
for ix,val in enumerate(x):
    if val == 0:
        print(ix+1)
        sys.exit()

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

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

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

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

Solution (Python):
n=input()
n2=n.split()
lst=[ int(i) for i in n2]
if lst.index(0)==4:
  print(lst[3]+1)
else:
  print(lst[lst.index(0)+1]-1)

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

Solution (Python):
x_list = list(map(int, input().split()))

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

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

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

Solution (Python):



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

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

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

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

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

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

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

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

Solution (Python):
x = [s for s in input().split(" ")]
print(x.index("0") + 1)

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

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

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

print(index+1)

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

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

print(x.index(0) + 1)

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

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

n = 0
n = 15-x1-x2-x3-x4-x5

print(n)

Solution (Python):



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


if __name__ == '__main__':
    main()

Solution (Python):
X1, X2, X3, X4, X5 = input().split()
a = [X1, X2, X3, X4, X5]
for i in range(len(a)):
    if a[i] == "0":
        print(i+1)
    pass

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

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

Solution (Python):

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

Solution (Python):


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)

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

Solution (Python):
A=input().split()
A_int = [int(s) for s in A]

count=0
for n in A_int:
  if n==0:
    print(count+1)
  count+=1

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

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

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

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

Solution (Python):

inputs = set(map(int, input().split()))
print(list(set([0, 1, 2, 3, 4, 5])-inputs)[0])

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

print(l.index(0)+1)

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

Solution (Python):
ls = list(map(int, input().split()))

a = sum(ls)

print(15 - a)

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

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

a = -1
for i, p in enumerate(A):
  if p == 0:
    a = i + 1

print(a)

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

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

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

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

Solution (Python):
import numpy as np
x=map(int,input().split())

ans=15-sum(list(x))

print(ans)

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

elif d!=4:
    print(4)

elif e!=5:
    print(5)

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

Solution (Python):
import numpy as np

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

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

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

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

print(ans_ind)

Solution (Python):
import sys
readline=sys.stdin.readline

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

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

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

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

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

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

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

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

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

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

Solution (Python):
x = list(input().split())

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

Solution (Python):
num_list = list(map(int, input().split()))

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

Solution (Python):
vars = list(map(int, input().split()))
for i, var in enumerate(vars):
  if var == 0:
    print(i+1)

Solution (Python):
import sys
sys.setrecursionlimit(10 ** 9)

def int1(x): return int(x) - 1
def II(): return int(input())
def MI(): return map(int, input().split())
def MI1(): return map(int1, input().split())
def LI(): return list(map(int, input().split()))
def LI1(): return list(map(int1, input().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def MS(): return input().split()
def LS(): return list(input())
def LLS(rows_number): return [LS() for _ in range(rows_number)]
def printlist(lst, k=' '): print(k.join(list(map(str, lst))))
INF = float('inf')







def solve():
    X = MI()
    for i, x in enumerate(X):
        if x == 0:
            print(i+1)
            return


if __name__ == '__main__':
    solve()

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

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

Solution (Python):
import sys

x = input().split()

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

Solution (Python):
hairetsu = list(map(int, input().split()))
cnt = 1
for i in hairetsu:
    if i == 0:
        print(cnt)
        break
    cnt += 1

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

Solution (Python):
S=input().split()
if S[0]=="0":
  print("1")
elif S[1]=="0":
  print("2")
elif S[2]=="0":
  print("3")
elif S[3]=="0":
  print("4")
else:
  print("5")

Solution (Python):
if __name__ == "__main__":
    x = list(map(int, input().split()))

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

Solution (Python):
x=[0]*5
x=list(map(int,input().split()))
print(x.index(0)+1)

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

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

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

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

Solution (Python):
for i,v in enumerate(map(int, input().split())):
    if v == 0:
        print(i+1)
        break

Solution (Python):
x = list(map(int, input().split()))
if x.count(1) == 0:
    print(1)
elif x.count(2) == 0:
    print(2)
elif x.count(3) == 0:
    print(3)
elif x.count(4) == 0:
    print(4)
elif x.count(5) == 0:
    print(5)

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

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

Solution (Python):
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)

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

Solution (Python):
a = input().split()
index = 0
for i in a:
    index += 1
    if i == '0':
        print(index)

Solution (Python):
number = input()
for i, n in enumerate(number.split()):
  if n == "0":
    print(i + 1)
    break

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

print(X.index(0)+1)

Solution (Python):
import sys

print(sys.stdin.readline().split().index("0") + 1)

Solution (Python):
A=list(input().split())
s=A.index("0")
s+=1
print(s)

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

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

Solution (Python):
xs = map(int, input().split())
res = 0
for i, x in enumerate(xs):
    if x == 0:
        res = i
        break

print(str(res+1))

Solution (Python):
import numpy as np
in_arr = list(map(int,input().split()))
st_arr = np.arange(len(in_arr))+1
for i in range(len(in_arr)):
  if in_arr[i] != st_arr[i]:
    print(i+1)
    break

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

Solution (Python):

a,s,d,f,g=map(int,input().split())
if(a==0):
    print(1)
    exit()
if(s==0):
    print(2)
    exit()
if(d==0):
    print(3)
    exit()
if(f==0):
    print(4)
    exit()
if(g==0):
    print(5)
    exit()

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

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

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

Solution (Python):

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

print(x.index(0) + 1)

Solution (Python):


import sys,copy,bisect,itertools,heapq,math
from heapq import heappop,heappush,heapify
from collections import Counter,defaultdict

def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def S_MAP(): return map(str, input().split())
def LIST(): return list(map(int, input().split()))
def S_LIST(): return list(map(str, input().split()))


x=S_LIST()


print(x.index("0")+1)

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

print(Ans)

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

Solution (Python):


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


X = LI()


def main():
    ans = X.index(0) + 1
    print(ans)


if __name__ == "__main__":
    main()

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

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

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

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

Solution (Python):
import os

args = list(map(int,input().split()))
for n, i in zip(args, range(len(args))):
  if n == 0:
    print(i+1)
    break

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

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

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

Solution (Python):
import sys
ans = 0
x = [int(x) for x in input().split()]
for i in range(5):
  if(x[i] == 0 ):
    ans = i+1
    print(ans)

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

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

count=x.index(0)
ans = count+1
print(ans)

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

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

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

Solution (Python):
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)

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

Solution (Python):


import sys,copy,bisect,itertools,heapq,math
from heapq import heappop,heappush,heapify
from collections import Counter,defaultdict

def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def S_MAP(): return map(str, input().split())
def LIST(): return list(map(int, input().split()))
def S_LIST(): return list(map(str, input().split()))


x=S_LIST()


print(x.index("0")+1)

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

Solution (Python):
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)

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

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

Solution (Python):
s = list(map(int, input().split()))
for i, n in enumerate(s):
    if(s[i] != i+ 1):
        print(i+ 1)

Solution (Python):
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")

Solution (Python):
X = [x for x in map(int,input().split())]

ans = X.index(0)
print(ans+1)

Solution (Python):


N = input().rstrip().split(' ')

if '0' in N:
  print(N.index('0') + 1)

Solution (Python):
line = map(int, input().split())

for n, i in enumerate(line, 1):
	if n != i:
		print(n)
		exit()

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

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

for i, name in enumerate(a):
  if name == 0:
    ans = i + 1
    break

print(ans)

Solution (Python):
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)

Solution (Python):
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)

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

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

Solution (Python):
import numpy as np

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

print(np.argmin(n)+1)

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

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

print(cnt)

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

Solution (Python):
s=input().rstrip().split(' ')
count=0
for i in s:
    count+=1
    if(int(i)==0):
        print(count)
        break

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

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

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

Solution (Python):
if __name__ == '__main__':
    x = map(int, input().strip().split())
    for num, i in enumerate(x):
        if i == 0:
            print(num + 1)
            break

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

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

Solution (Python):
import sys
sys.setrecursionlimit(10000000)

s=input()
s=s.replace(' ','')
print(s.find('0') +1)

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

print(a.index(0)+1)

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

Solution (Python):
l=list(map(int,input().split()))
ans=l.index(0)

print(ans+1)

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

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

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

Solution (Python):
x,y,z,a,b=map(int,input().split())
if x==0:
    print("1")
elif y==0:
    print("2")
elif z==0:
    print("3")
elif a==0:
    print("4")
elif b==0:
    print("5")

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

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

Solution (Python):
n = list(map(int, input().split()))

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

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

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

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

Solution (Python):
def NextIntList(): return list(map(int,input().split()))
list1 = NextIntList()
print(1+list1.index(0))

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

Solution (Python):
nums = list(map(int, input().split()))

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

Solution (Python):
import sys

x = input().split()

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

Solution (Python):
lists = input().split()

for i in range(5):
  if '0' in lists[i]:
    print(i+1)

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

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

L = []
L.append(a)
L.append(b)
L.append(c)
L.append(d)
L.append(e)

cnt = 1
for i in L:
  if i == 0:
    print(cnt)
  else:
    cnt += 1

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

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

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

Solution (Python):
n = list(map(int, input().split()))

ans = 0
for i, num in enumerate(n):
    if(num == 0):
        ans = i+1

print(ans)

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

Solution (Python):
A = list(map(int, input().split()))
cnt = 1

for i in A:
    if i == 0:
        print(cnt)
        exit()
    cnt += 1

Solution (Python):
import sys

def I(): return int(sys.stdin.readline().rstrip())
def LI():return list(map(int,sys.stdin.readline().rstrip().split()))
def LS():return list(sys.stdin.readline().rstrip().split())

def main():
  X = LI()
  
  for i,x in enumerate(X):
    if x==0:
      print(i+1)
      exit()


if __name__ == '__main__':
	main()

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

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

Solution (Python):
num_input = input().split()   
ans=1+num_input.index("0")
print(ans)

Solution (Python):
a = list(input().split())
for i,x in enumerate(a):
    if(x == "0"):
        print(i+1)

Solution (Python):
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)
        break

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

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

Solution (Python):
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")

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

Solution (Python):
x = input().split(" ")
i = 0

for num in x:
  i += 1
  if int(num) == 0:
    print(i)
    exit()

Solution (Python):
variable = input().split()
print(variable.index("0")+1)

Solution (Python):
li = input().split()
print(li.index("0") + 1)

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

Solution (Python):



l = input().rstrip().split(" ")

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

Solution (Python):
from typing import List


def five_variables(xs: List[int]) -> int:
    i = 0
    for i, x in enumerate(xs):
        if x == 0:
            return i + 1
    raise Exception("Unexpected")


if __name__ == "__main__":
    xs = map(int, input().split())
    ans = five_variables(xs)
    print(ans)

Solution (Python):
L = list(map(int,input().split()))

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

Solution (Python):
from math import *
from copy import *
from string import *				
from random import *
from sys import stdin,stdout
from sys import maxsize
from operator import *				
from itertools import *
from collections import Counter		
import math
import math
import time
from queue import Queue


def seive(n):
	l=[True]
	l=l*(n+1)
	for i in range(2,int(sqrt(n))+1):
		if(l[i]==True):
			val=i*i
			while(val<len(l)):
				l[val]=False
				val+=i
	prime=[]
	for i in range(2,len(l)):
		if(l[i]==True):
			prime.append(i)
	return prime

def dp(l,i,n,val,ans):
	if(i>=n or val<0):
		return 1000000
	elif(val==0):
		return 0
	else:
		if(ans[i]==1000000):
			ans[i]=min(min(1+dp(l,i+1,n,val-l[i],ans),1+dp(l,i,n,val-l[i],ans)),dp(l,i+1,n,val,ans))
		return ans[i]
from queue import Queue
def factors(n):
	l=[]
	for i in range(1,int(sqrt(n))+1):
		if(n%i==0):
			if(n//i==i):
				l.append(i)
			else:
				l.append(i)
				l.append(n//i)
	return l
if __name__ == '__main__':
	l=list(map(int,input().split(" ")))
	print(l.index(0)+1)

Solution (Python):
'''
Author : Shubhanshu Jain;
'''

import math
import random;
from collections import defaultdict 
mod =1000000007
r1 = lambda : int(input());
rm = lambda : map(int,input().split());
rms = lambda : map(str,input().split());
rls = lambda : list(rm())

def solve():
    ls = rls();
    print(ls.index(0)+1)
        
        





def def_value(): 
	return "nan"
	
solve();

Solution (Python):
x = list(map(str, input().split()))

print(x.index('0') + 1)

Solution (Python):
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def II(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def SI(): return sys.stdin.readline()[:-1]

def main():
    aa=LI()
    print(aa.index(0)+1)

main()

Solution (Python):
A=[int(x) for x in input().strip().split(" ")]
for i in range(5):

    if i+1!=A[i]:
        print(i+1)

Solution (Python):



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

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

Solution (Python):










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

Solution (Python):
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)

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

Solution (Python):
import sys

stdin = sys.stdin

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

x = na()

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

Solution (Python):
a=list(input().split())
print(a.index("0")+1)

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

Solution (Python):
x_list = list(input().split())
for i,x in enumerate(x_list):
    if x=="0":
        ans = i+1
print(ans)

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


answer = x.index(0) + 1

print(answer)

Solution (Python):
import sys
input = sys.stdin.readline
a = [int(s) for s in input().split()]
print(a.index(0)+1)

Solution (Python):
def main():
  x = tuple(map(int, input().split()))
  
  for i, xi in enumerate(x):
    if xi == 0:
      print(i+1)
      return
    
main()

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

if __name__ == '__main__':
    solve()

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

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

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

Solution (Python):
import sys
import time




import math
start=time.time()
input = sys.stdin.readline
sys.setrecursionlimit(10**8)
inf = 10**18
MOD = 1000000007
ri = lambda : int(input())
rs = lambda : input().strip()
rl = lambda : list(map(int, input().split()))
a = rl()
for i in range(5):
    if a[i]==0:
        print(i+1)
        break

Solution (Python):
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")

Solution (Python):
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)

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

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

Solution (Python):
x = list(input().split())

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

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

Solution (Python):


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

Solution (Python):



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

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

Solution (Python):
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)