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):
input_x = input().split()

answer = (input_x.index('0')) + 1

print(answer)

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

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

Solution (Python):
def 分割入力(): return input().split()
def 位置(a): return 配列.index(a)+1
配列化,高階,出力,数字化 = list,map,print,int





配列 = 配列化(高階(数字化,分割入力()))
出力(位置(0))

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(len(x)):
  if x[i] == 0:
    print(i+1)

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

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

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

Solution (Python):
l = list(map(int, 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)

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()))
print(str(x.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):
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 = input().split()
x = list(map(int, x))
m = max(x)

ans = (m*(m+1)//2) - sum(x)
if ans != 0:
    print(ans)
else:
    print(m + 1)

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

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

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

Solution (Python):
import math

s = input().split()

n = int(s[0])
if n == 0:
    print(n+1)
else:
    for e in s:
        if e == "0":
            print(n)
            break
        n += 1

Solution (Python):
x = [1, 2, 3, 4, 5]

values = input().split()

dic = dict(zip(x, values))

for i in dic:
  if dic[i] == '0':
    print(i)
  else:
    pass

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

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

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

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

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

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

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

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

Solution (Python):
input = input()
nums = input.split(" ")
for index, num in enumerate(nums):
    if int(num)==0:
        print(index+1)

Solution (Python):
input = input()

nums = input.split(" ")

for index, num in enumerate(nums):
    if int(num)==0:
        print(index+1)

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

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

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

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

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

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

ans = li.index(0)

print(ans+1)

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

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

print(x.index(0)+1)

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

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

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

Solution (Python):

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

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

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

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

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

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

Solution (Python):
numlist = input().split()
index = 1
for num in numlist:
    if int(num) == 0:
        print(index)
        break
    index += 1

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

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

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

Solution (Python):



def main():
    import sys
    input = sys.stdin.readline

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

    for index, xi in enumerate(x, 1):
        if xi == 0:
            print(index)
            exit()


if __name__ == '__main__':
    main()

Solution (Python):
lst = []

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

lst.append(a)
lst.append(b)
lst.append(c)
lst.append(d)
lst.append(e)

n=lst.index(0)
print(n+1)

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

Solution (Python):
a,b,c,d,e = map(str, input().split())
x = str(a+b+c+d+e)
y = x.find('0')
print(y+1)

Solution (Python):
lst = []

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

lst.append(a)
lst.append(b)
lst.append(c)
lst.append(d)
lst.append(e)

n=lst.index(0)
print(n+1)

Solution (Python):


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

print(x.index(0)+1)

Solution (Python):
A = list(map(int, input().split()))
count = 0
for a in A:
  count += 1
  if a == 0:
    print(count)
    exit()

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

Solution (Python):
a=list(map(int,input().split()))
print(a.index(0)+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")
if B == 0:
      print("2")
if C == 0:
      print("3")
if D == 0:
      print("4")
if E == 0:
      print("5")

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

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

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

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

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

a = 0



for i in range(0, len(mass)):
    if(mass[i] == 0):
        a = i

print(a + 1)

Solution (Python):
def solve(l):
    print(l.index(0)+1)

if __name__ == '__main__':
    l = list(map(int,input().split()))
    solve(l)

Solution (Python):
if __name__ == '__main__':
    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):
nums = input().split()
nums = list(map(int, nums))

for i, n in enumerate(nums):
    if n == 0:
        print(i + 1)

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

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

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

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

Solution (Python):
S = [int(x) for x in input().split()]
for i in range(5):
	if S[i]==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)
else :
    print(5)

Solution (Python):
x = list(map(int, input().split()))
correct = 15
sum = 0
for i in x:
  sum += i
print(correct - sum)

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

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

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

Solution (Python):
ar=[int(x) for x in input().split()]
for i in range(len(ar)):
    if(ar[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)

Solution (Python):
X = [int(i) for i in input().split()]

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

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

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

Solution (Python):
import sys
import math


input = sys.stdin.readline
 

def inp():
    return(int(input()))
def inara():
    return(list(map(int,input().split())))
def insr():
    s = input()
    return(list(s[:len(s) - 1]))
def invr():
    return(map(int,input().split()))



ara=inara()

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

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

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

print(x.index(0) + 1)

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

print(x.index(0) + 1)

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

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

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

Solution (Python):
arr=[int(ele) for ele in input().split()]

cnt=1

for ele in arr:
    if ele==0:
        print(cnt)
    cnt=cnt+1

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

Solution (Python):
from collections import defaultdict as dd
from collections import deque
import bisect
import heapq

def ri():
    return int(input())

def rl():
    return list(map(int, input().split()))


def solve():
    A = rl()
    print (A.index(0) + 1)





mode = 's'

if mode == 'T':
    t = ri()
    for i in range(t):
        solve()
else:
    solve()

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

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

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

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

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

print(xs.index(0) + 1)

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

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

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

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

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

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

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

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

Solution (Python):
a = input()
al = a.split()

ial = []
for i in range(len(al)):
    ial.append(int(al[i]))


for i in range(len(ial)):
  if ial[i] == 0:
    try:
        print(ial[i+1]-1)
    except IndexError:
        print(ial[i-1]+1)

Solution (Python):
def main():
    s = list(map(int,input().split()))
    for i, n in enumerate(s):
        if n == 0:
            print(i+1)


if __name__ == '__main__':
    main()

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




main()

Solution (Python):



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


print(a.index(0)+1)

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

import sys

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

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

if nums[0] == "0":
	print(1)

elif nums[1] == "0":
	print(2)

elif nums[2] == "0":
	print(3)
	
elif nums[3] == "0":
	print(4)

elif nums[4] == "0":
	print(5)

Solution (Python):


x=input().split()



if(x[0]=="0"):
    print(1)
elif(x[1]=="0"):
    print(2)
elif(x[2]=="0"):
    print(3)
elif(x[3]=="0"):
    print(4)
elif(x[4]=="0"):
    print(5)

Solution (Python):


x=input().split()



if(x[0]=="0"):
    print(1)
elif(x[1]=="0"):
    print(2)
elif(x[2]=="0"):
    print(3)
elif(x[3]=="0"):
    print(4)
elif(x[4]=="0"):
    print(5)

Solution (Python):
x1, x2, x3, x4, x5 =(int(x) for x in 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):
l = list(map(int, input().split()))
print(l.index(0) + 1)

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

Solution (Python):

ln = input().split()
for i in range(len(ln)):
    if ln[i] == '0':
        print(int(i) + 1)
        break

Solution (Python):
import statistics
import math
import datetime
from collections import Counter
import itertools

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):
a=[int(i) for i in input().split()]
c=a.index(0)
print(c+1)

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

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

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

Solution (Python):
def main():
    A = [int(i) for i in input().split()]
    B = [False]*5

    for a in A:
        if a == 0:
            continue
        B[a-1] = True

    for i, b in enumerate(B):
        if not b:
            print(i+1)
            break


if __name__ == '__main__':
    main()

Solution (Python):
input_numbers = []

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

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

print(x)

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

Solution (Python):
from sys import stdin
 
X = stdin.readline().strip().split(" ")
 
n = 0
for i in range(len(X)):
  if X[i] == "0":
    n = i+1
    break
print(n)

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

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

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

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

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

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

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

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

Solution (Python):
input_numbers = []

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

min = input_numbers[0]
x = 1
if input_numbers[1] < min:
    min =input_numbers[1]
    x = 2
if input_numbers[2] < min:
    min = input_numbers[2]
    x = 3
if input_numbers[3] < min:
    min = input_numbers[3]
    x = 4
if input_numbers[4] < min:
    min = input_numbers[4]
    x = 5

print(x)

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

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

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

Solution (Python):
def main():
    import sys
    def input(): return sys.stdin.readline().rstrip()
    x = list(map(int, input().split()))
    for i,el in enumerate(x):
        if el == 0:
            print(i+1)


if __name__ == '__main__':
    main()

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

print(x.index(0) + 1)

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

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

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

print(x.index(0) + 1)

Solution (Python):



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

if huga[0] == 0:
    print(1)
if huga[1] == 0:
    print(2)
if huga[2] == 0:
    print(3)
if huga[3] == 0:
    print(4)
if huga[4] == 0:
    print(5)

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

n=1

for x in a:
  if n==int(x):
    n=n+1
  else:
    print(n)
    break

Solution (Python):
x1 ,x2 ,x3 ,x4 ,x5 = map(int,input().split())
if x1 == 0:
  print("1")
if x2 == 0:
  print("2")
if x3 == 0:
  print("3")
if x4 == 0:
  print("4")
if x5 == 0:
  print("5")

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

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

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

Solution (Python):
l=[int(x) for x in input().split(" ")]
z=[i+1 for i in range(len(l)) if l[i]==0]
a = ','.join(str(v) for v in z)
print(a)

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

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

Solution (Python):
list_modified = list(map(int, input().split()))
original_total = 1+2+3+4+5
modified_total = 0
for num in list_modified:
    modified_total = modified_total + num

print(original_total - modified_total)

Solution (Python):
A = map(int,input().split())
print(15 - sum(A))

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

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

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

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

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

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

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

Solution (Python):
def test(list_a):
    i = 1
    for a in list_a:
        if a == 0:
            return i
        i += 1


if __name__ == '__main__':
    list_a = [int(n) for n in input().split()]
    print(test(list_a))

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

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

Solution (Python):
x_1, x_2, x_3, x_4, x_5 = map(int, input().split())
print(15-(x_1+x_2+x_3+x_4+x_5))

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

Solution (Python):
n=list(map(int,input().strip().split()))
print(n.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()))
print(x.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(input().split())
print(x.index('0')+1)

Solution (Python):
X = list(map(int, input().split()))
if X[0] == 0:
	print(1)
elif X[1] == 0:
	print(2)
elif X[2] == 0:
	print(3)
elif X[3] == 0:
	print(4)
else:
	print(5)

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

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

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

Solution (Python):
def main():
  
  

  
  

  
  
  
  if 'get_ipython' in globals(): 
    
    X=[0, 2, 3, 4, 5]

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

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

main()

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

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

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

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

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

Solution (Python):

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


for idx, num in enumerate(x):
    if num == 0:
        print(idx + 1)
        exit(0)

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

Solution (Python):
nums = input().split()
print(nums.index('0') + 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(int,input().split()))
print(a.index(0)+1)

Solution (Python):
a,b,c,d,e =input().split(' ')
f = int(a)
g = int(b)
h = int(c)
i = int(d)
j = int(e)
high =[f,g,h,i,j]
for dazy in range(5):
    if high[dazy] != dazy+1:
        print(dazy+1)

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

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

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

print(x.index(0)+1)

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

Solution (Python):
arr = list(map(int, input("").split())) 
if arr[0]==0:
   print(1)
if arr[1]==0:
  print(2)
if arr[2]==0:
  print(3)
if arr[3]==0:
  print(4)
if arr[4]==0:
  print(5)

Solution (Python):
from sys import stdin, stdout, setrecursionlimit
from collections import deque, defaultdict
import math

rl = lambda: stdin.readline()
rll = lambda: stdin.readline().split()
rli = lambda: map(int, stdin.readline().split())
rlf = lambda: map(float, stdin.readline().split())

INF, NINF = float('inf'), float('-inf')

def main():
	A = list(rli())
	for i, n in enumerate(A, 1):
		if n == 0:
			print(i)
			break
	stdout.close()

if __name__ == "__main__":
	main()

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

print(ans)

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

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

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


print(1 + x.index(0))

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

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

Solution (Python):

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

Solution (Python):
s = input().split()
print(int(15)-(int(s[0])+int(s[1])+int(s[2])+int(s[3])+int(s[4])))

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

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

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

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

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

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

Solution (Python):
import sys

if __name__ == "__main__":
  line = input()
  splited = line.split(" ")
  
  for i, num in enumerate(splited):
    if num == "0":
      print(i+1)
      sys.exit(0)

Solution (Python):

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

for i in range(5):
    if x[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):
x1, x2, x3, x4, x5 = map(int, input().split())
if x1 != 1:
    print(1)
elif x2 != 2:
    print(2)
elif x3 != 3:
    print(3)
elif x4 != 4:
    print(4)
elif x5 != 5:
    print(5)

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

print(list_a.index(0)+1)

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

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

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

Solution (Python):
from sys import stdin
X = [int(_) for _ in stdin.readline().rstrip().split()]
print(X.index(0)+1)

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

Solution (Python):
for i, x in enumerate([int(x) for x in input().strip().split()]):
  if x == 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(len(x)):
  if x[i] == 0:
    print(i+1)
    break;

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

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

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

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

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


if __name__ == "__main__":
    main()

Solution (Python):
print(input().find("0")//2+1)

Solution (Python):
from collections import Counter,defaultdict,deque
from heapq import heappop,heappush,heapify
from bisect import bisect_left,bisect_right 
import sys,math,itertools,fractions,pprint
sys.setrecursionlimit(10**8)
mod = 10**9+7
INF = float('inf')
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))

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

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

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

Solution (Python):
import sys

x = input().split()
num = 0

for i in x:
  if i == "0":
    print (num + 1)
  else:
    num += 1

Solution (Python):
a = list(map(int,input().split(" ")))
print( 1+2+3+4+5 - sum(a) )

Solution (Python):
array = list(map(int, input().split()))
target = 0
print(array.index(target)+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):
lis=list(map(int,input().split()))
for i, x in enumerate(lis):
  if x == 0:
    a = i+1
print (a)

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

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

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

Solution (Python):



num_list = []
num_list = input().split()

ans = int(num_list.index('0')) + 1

print(ans)

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

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

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

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

Solution (Python):
x1=list(input().split())
for i in range(0,len(x1)):
    if(x1[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):
a = list(map(int, input().split()))
print(15 - sum(a))

Solution (Python):

arr=[int(i) for i in input().strip().split(' ')]
if 1 not in arr:
	print(1)
if 2 not in arr:
	print(2)
if 3 not in arr:
	print(3)
if 4 not in arr:
	print(4)
if 5 not in arr:
	print(5)

Solution (Python):

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


if __name__ == "__main__":
    main()

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

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

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