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):
data = [int(x) for x in input().split(" ")]

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

print(x.index(0)+1)

Solution (Python):
x_1, x_2, x_3, x_4, x_5 = map(int, input().split())
ls = [x_1, x_2, x_3, x_4, x_5]
num = ls.index(0)
print(num + 1)

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

print(x.index(0) + 1)

Solution (Python):
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time, copy,bisect






import sys

sys.setrecursionlimit(10**7)
inf = 10**20
mod = 10**9 + 7

stdin = sys.stdin

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

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

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

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

print(Xs.index(0) + 1)

Solution (Python):

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

print(l.index(0)+1)

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

Solution (Python):
import sys
from collections import deque, defaultdict, Counter
from itertools import accumulate, product, permutations, combinations
from operator import itemgetter
from bisect import bisect_left, bisect_right
from heapq import heappop, heappush
from math import ceil, floor, sqrt, gcd, inf
from copy import deepcopy
import numpy as np
import scipy as sp

INF = inf
MOD = 1000000007

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

tmp = 0
res = 0
res = 15 - sum(X)

print(res)

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

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

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

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

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

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

print (X.index(0) + 1)

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

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

Solution (Python):


from collections import Counter

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


if __name__ == '__main__':
    solve()

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

if a*1 == 0:
    print(1)
elif b*1 == 0:
    print(2)
elif c*1 == 0:
    print(3)
elif d*1 == 0:
    print(4)
elif e*1 == 0:
    print(5)

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

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

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

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

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

Solution (Python):
a,b,c,d,e = map(str,input().split())
s = [a,b,c,d,e]
num = s.index('0')
print(num+1)

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

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

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

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

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

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

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

Solution (Python):
print(list(map(int,input().split())).index(0) + 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')
elif x5==0:
    print('5')

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

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

if __name__ == '__main__':
  print(main())

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

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

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

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

print(X.index(0)+1)

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

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

Solution (Python):
from sys import stdin
readline = stdin.readline
def i_input(): return int(readline().rstrip())
def i_map(): return map(int, readline().rstrip().split())
def i_list(): return list(i_map())

def main():
    print(i_list().index(0) + 1)

if __name__ == "__main__":
    main()

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

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

Solution (Python):

    
    


import sys, os.path


    
    

sys.setrecursionlimit(10 ** 5)

def mod(): return 10**9+7
def i(): return sys.stdin.readline().strip()
def ii(): return int(sys.stdin.readline())
def li(): return list(sys.stdin.readline().strip())
def mii(): return map(int, sys.stdin.readline().split())
def lii(): return list(map(int, sys.stdin.readline().strip().split()))



def solve():
    a=lii()
    print(1+a.index(0))

for _ in range(1):
    solve()

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

Solution (Python):
a,b,c,d,e = (int(i) for i in 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):
X = list(map(int,input().split()))
ans = X.index(0) + 1
print(ans)

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()))
ans = 0
for i in range(len(A)):
    if A[i] == 0:
        ans = i + 1
print(ans)

Solution (Python):
n = input().split(" ")

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

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

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

print(ans)

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

print(x.index(0)+1)

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

if x == 0:
    print(1)

if x1 == 0:
    print(2)

if x2 == 0:
    print(3)

if x3 == 0:
    print(4)

if x4 == 0:
    print(5)

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

def INT(): return int(input())
def MAPINT(): return map(int, input().split())
def LMAPINT(): return list(map(int, input().split()))
def STR(): return input()
def MAPSTR(): return map(str, input().split())
def LMAPSTR(): return list(map(str, input().split()))

f_inf = float('inf')

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

Solution (Python):
num = input().split()
i = 0
while  i < 5:
  if int(num[i]) != i + 1:
    print(i+1)
    break
  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):



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

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

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

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


def solve():
    readline = sys.stdin.buffer.readline
    mod = 10 ** 9 + 7
    x = list(map(int, readline().split()))
    print(x.index(0) + 1)


if __name__ == '__main__':
    solve()

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]==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)
        break

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):
ans = list(map(int,input().split()))
print(15-sum(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)
elif e == 0:
    print(5)

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

if int(a) == 0:
    print(1)
elif int(b) == 0:
    print(2)
elif int(c) == 0:
    print(3)
elif int(d) == 0:
    print(4)
elif int(e) == 0:
    print(5)

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

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

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

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

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

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

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):
list = list(map(int,input().split()))
i=0
while i<5:
  
  if list[i] == 0:
    print(i+1)
  i += 1

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

n=10
for i in range(len(X)):
    if X[i] == 0:
        n = i

print(n+1)

Solution (Python):
str = input().split()
print(str.index('0')+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):
def main():
    xs = list(map(int, input().split()))

    print(xs.index(0) + 1)


if __name__ == '__main__':
    main()

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

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

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

print(in_num.index(0)+1)

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

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

Solution (Python):
x = list(map(int,input().split()))
i = 0
while (x[i] != 0):
  i+=1
print(i+1)

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

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

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

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

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

Solution (Python):
def main(X):
    for i in range(len(X)):
        if X[i]==0:
            return i+1

if __name__ == '__main__':
    X = list(map(int, input().split()))
    ans = main(X)
    print(ans)

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

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 in range(1, 6):
    if X[i-1] == 0:
        print(i)

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

num = 1

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

Solution (Python):
def main():
    x_tuple = tuple(map(int, input().split()))

    print(x_tuple.index(0) + 1)


if __name__ == '__main__':
    main()

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

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

Solution (Python):
if __name__ == '__main__':

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

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

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

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

i = 0
while True:
    if int(num_list[i]) == 0:
        print(i + 1)
        break
    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):
print(input().find('0')//2+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(len(x)):
    if x[i] == 0:
        print(i+1)
        break

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

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

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

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

five_variables()

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

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

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

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

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

print(15-sum(a))

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

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

Solution (Python):

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

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

print(X.index(0) + 1)

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

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

for i in range(5):
  if S[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(5):
    if x[i] == 0:
        print(i + 1)
        break

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

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):
l = [int(x) for x in input().split()]
anser = 0
for i in l:
    anser += 1
    if i == 0:
        print(anser)

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

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

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):
def resolve():
    X = list(map(int, input().split()))
    print(X.index(0)+1)

if '__main__' == __name__:
    resolve()

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

for i in range(n):
  if x[i] == 0:
    print(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)
  
elif x5 == 0:
  print(5)

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

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

print(A.index(0)+1)

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

num = len(k)

for i in range(num):
    if k[i] == "0":
        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):
list = list(map(int, input().split(" ")))

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

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

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

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

print(x.index(0)+1)

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

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

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

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

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

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

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

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

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

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

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()))
print(x.index(0)+1)

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

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

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

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

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

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

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

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

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

print(15-sum)

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

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)

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

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

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

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

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

Solution (Python):
print([int(i) for i in 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)
    break

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
x = [int(x) for x 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 i in range(len(x)):
    if x[i] == 0:
        print(i+1)
        break

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

print(values.index(0)+1)

Solution (Python):
n = list(map(int, input().split()))
result = 0
for i in range(len(n)):
  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)

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

print(a.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()))
print(x.index(0)+1)

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

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

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

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

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

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

Solution (Python):



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

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

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

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

ans = 1

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

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

Solution (Python):
X = input().split()
ans = X.index('0')
print(int(ans)+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(len(x)):
    if x[i] ==0:
        print(i+1)

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

Solution (Python):
s = list(map(int, input().split()))
print(s.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):
X = list(map(int,input().split()))

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

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

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

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

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

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

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

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

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

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

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

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] is 0:
    print(i+1)

Solution (Python):
Xs = list(map(int, input().split()))
x_len = len(Xs)


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

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

print(x.index(0)+1)

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

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

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

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

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

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

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

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

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

for i in range(5):
    if xi[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):
arr = list(map(int, input().split()))
for idx, num in enumerate(arr):
    if num == 0:
        print(idx+1)
        break
    else:
        continue

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)