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):
arr = map(int, input().split())
print(*[i + 1 for i, v in enumerate(arr) if v == 0])

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

Solution (Python):















mod = int(1e9+7)

INF = 1<<50

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

def main():
    x = readInt()
    for i in range(5):
        if x[i]!=i+1:
            print(i+1)
    return

if __name__=='__main__':
    main()

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

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

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

Solution (Python):
import sys

X = [int(x) for x in sys.stdin.readline().split()]

print(X.index(0)+1)

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

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

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

Solution (Python):
t=[int(i) for i in input().split()]
for   i in range(5):
	if t[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):
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] != i + 1:
        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,ai in enumerate(a):
  if ai == 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):
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()))

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

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

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

if __name__ == '__main__':
    main()

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

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

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

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

Solution (Python):
n = [int(i) for i in input().split()]
for c in range(len(n)):
  if n[c] == 0:
    print(c+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)
elif e==0:
  print(5)

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

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

if __name__ == "__main__":
    main()

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

Solution (Python):
lst = list(map(int, open(0).read().split()))
print(15 - sum(lst))

Solution (Python):
a, b, c, d, e = list(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(1, 6):
    if i not in x:
        print(i)
        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(len(X)):
    if X[i] == 0:
        print(i+1)
        break

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

print(A.index(0)+1)

Solution (Python):
x = [int(x) for x in input().strip().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)

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

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

i = 1
for s in a:
  if s=="0":
    print(i)
  i += 1

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

for i in range(len(x_i)):
    if x_i[i] == 0:
        break

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(int, input().split()))

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

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


if __name__ == "__main__":
    main()

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

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

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

Solution (Python):
import sys


def int1(x): return int(x) - 1
def ii(): return int(sys.stdin.readline())
def mi(): return map(int, sys.stdin.readline().split())
def mi1(): return map(int1, 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)]


if __name__ == "__main__":
    x = li()
    for i in range(len(x)):
        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):
import sys


def _ia(): return map(int, sys.stdin.readline().strip().split())


def main():
    a = _ia()
    for i, ai in enumerate(a):
        if ai == 0:
            return i + 1


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

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

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

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

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

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

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

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

print(list.index(0)+1)

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

print(Ns.index(0)+1)

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

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

if __name__ == '__main__':
    main()

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

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

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

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

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

Solution (Python):







from math import *


def _in():
    return [int(x) for x in input().split(' ')]


def main():
    arr = _in()
    for i in range(1, 6):
        if not(i in arr):
            print(i)
            return


if __name__ == "__main__":
    tt = 1
    
    for _ in range(tt):
        main()

Solution (Python):
A = [int(i) for i in 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:
        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):
from sys import stdin, stdout

int_in = lambda: int(stdin.readline())
arr_in = lambda: [int(x) for x in stdin.readline().split()]
mat_in = lambda rows: [arr_in() for y in range(rows)]
str_in = lambda: stdin.readline().strip()
out = lambda o: stdout.write("{}\n".format(o))
arr_out = lambda o: out(" ".join(map(str, o)))
bool_out = lambda o: out("YES" if o else "NO")
tests = lambda: range(1, int_in() + 1)
case_out = lambda i, o: out("Case 


def solve(x):
    return x.index(0) + 1


if __name__ == "__main__":
    x = arr_in()
    out(solve(x))

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

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

for i in range(len(a)):
    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)
        exit()

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):
def solve(x1, x2, x3, x4, x5):
    for i, x in enumerate([x1, x2, x3, x4, x5]):
        if x == 0:
            return i + 1
    return 0


def main():
    x1, x2, x3, x4, x5 = map(int, input().split())
    res = solve(x1, x2, x3, x4, x5)
    print(res)


def test():
    assert solve(0, 2, 3, 4, 5) == 1
    assert solve(1, 2, 0, 4, 5) == 3


if __name__ == "__main__":
    test()
    main()

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

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

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

'''

'''

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):
l = [int(i) for i in input().split()]
i = l.index(0)

print(i+1)

Solution (Python):

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


main()

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

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

print(l.index(0)+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)
        exit()

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

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

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

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

        print(i+1)

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

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

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

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

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

main()

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

Solution (Python):
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))


x = LIST()

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

Solution (Python):
from sys import stdin

def main():

    input = stdin.readline

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

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


    
if __name__ == "__main__":
    main()

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

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

Solution (Python):


import sys
read = sys.stdin.read
readline = sys.stdin.readline

*a, = map(int,read().split())

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

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

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

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

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

print(ans+1)

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

if __name__ == '__main__':
    main()

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

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 = [int(i) for i in input().split()]
for i,n in enumerate(x):
    if n == 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):
x = list(map(int, input().split()))

print(x.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):
xo = list(map(int, input().split()))
for i, x in enumerate(xo):
    if x == 0:
        print(i+1)

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


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

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

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

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

Solution (Python):
from sys import exit
import math
ii = lambda : int(input())
mi = lambda : map(int,input().split())
li = lambda : list(map(int,input().split()))

a = li()

for i in range(5):
    if a[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)
        exit()

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

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

Solution (Python):


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

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

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

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

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

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



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

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


print(main())

Solution (Python):
from sys import stdin
from collections import defaultdict as dd
from collections import deque as dq
import itertools as it
from math import sqrt, log, log2
from fractions import Fraction

nums = list(map(int, stdin.readline().split()))
for i, elem in enumerate(nums):
    if elem == 0:
        print(i + 1)
        exit()

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

if __name__ == '__main__':
    main()

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

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

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


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

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

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

Solution (Python):

import sys,io,os,time
from collections import defaultdict
from collections import OrderedDict
from collections import deque
from itertools import combinations
from itertools import permutations
import bisect,math,heapq
alphabet = "abcdefghijklmnopqrstuvwxyz"

input = sys.stdin.readline



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

Solution (Python):
a = [int(e) for e in input().split()]

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

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

print(ind+1)

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

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


if __name__ == '__main__':
    resolve()

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

print(a.index(0) + 1)

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

Solution (Python):

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

Solution (Python):
l=list(map(int,input().split()))
for i in range(len(l)):
    if(l[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 = 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):
import sys
from collections import defaultdict
readline = sys.stdin.buffer.readline



def geta(fn=lambda s: s.decode()):
    return map(fn, readline().split())


def gete(fn=lambda s: s.decode()):
    return fn(readline().rstrip())


def main():
    x = tuple(geta(int))

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


if __name__ == "__main__":
    main()

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

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

Solution (Python):

import collections
import itertools as it
import math

 


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





li = [x1, x2, x3, x4, x5]
print(li.index(0)+1)

Solution (Python):


import sys
input=sys.stdin.readline

def main():
    x=list(map(int,input().split()))
    print(x.index(0)+1)
    
    
    
if __name__=="__main__":
    main()

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


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








print(x.index(0)+1)

Solution (Python):



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

Solution (Python):



def main():
    A = list(map(int, input().split()))

    print(A.index(0)+1)

if __name__ == '__main__':
    main()

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

if a[0] == 0:print(1)
else:
    print(a.index(0) + 1)

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

for ind,v in enumerate(x):
	if(v == 0):
		print(ind+1)

Solution (Python):
import sys

sys.setrecursionlimit(1000000)

import bisect
import math
import collections
import heapq


if __name__ == "__main__":
    A, B, C, D, E = tuple(map(int, input().split(" ")))
    K = [A, B, C, D, E]
    for i in range(len(K)):
        if K[i] == 0:
            print(i + 1)

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

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

Solution (Python):
import sys
input=sys.stdin.readline
sys.setrecursionlimit(10 ** 8)
from itertools import accumulate
from itertools import permutations
from itertools import combinations
from collections import defaultdict
from collections import Counter
import fractions
import math
from collections import deque
from bisect import bisect_left
from bisect import insort_left
import itertools
from heapq import heapify
from heapq import heappop
from heapq import heappush
import heapq
from copy import deepcopy
from decimal import Decimal
alf = list("abcdefghijklmnopqrstuvwxyz")
ALF = list("ABCDEFGHIJKLMNOPQRSTUVWXYZ")

INF = float("inf")


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):
def main():
    X = list(map(int, input().split()))
    for i, x in enumerate(X):
        if x == 0:
            print(i + 1)


if __name__ == '__main__':
    main()

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

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

Solution (Python):
import bisect,collections,copy,heapq,itertools,math,string
import sys
def S(): return sys.stdin.readline().rstrip()
def M(): return map(int,sys.stdin.readline().rstrip().split())
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())
a, b, c, d, e = M()
ans = 0
if a == 0:
    ans = 1
elif b == 0:
    ans = 2
elif c == 0:
    ans = 3
elif d == 0:
    ans = 4
else:
    ans = 5
print(ans)

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

Solution (Python):
a,b,c,d,e = map(int, input().split())
arr = [a,b,c,d,e]
for i in range(5):
    if arr[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):
s = list(map(int, input().split()))
print(s.index(0)+1)

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

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

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

Solution (Python):
x = list(map(int, input().split())) 
print("{}".format(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(map(int, input().split()))
print(X.index(0)+1)

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

ans = x_list.index(0) + 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_array = list(map(int, input().split()))

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

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

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

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

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

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

if __name__ == '__main__':
    main()

Solution (Python):
def main():
    X = [int(a) for a in input().split()]

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

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):
n,m,l,s,t=map(int,input().split())


if n==0:
    print(1)
elif m==0:
    print(2)
elif l==0:
    print(3)
elif s==0:
    print(4)
elif t==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):
X = list(map(int, input().split()))
for i in range(len(X)):
    if X[i] == 0:
        print(i+1)
        break

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

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

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

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

for i in range(1, 6):
    if x[i-1] == 0:
        print(i)
        break

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

Solution (Python):

 

 
import sys
from fractions import gcd
import math
from math import ceil,floor
import collections
from collections import Counter
import itertools
 

 







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

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

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

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

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

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

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

    
if __name__ == "__main__":
    main()

Solution (Python):

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

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

print(N.index(0)+1)

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

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

Solution (Python):
arr = list(map(str, input().strip().split()))
for i in range(0,5):
  if arr[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)
    break

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()))
for i, x in enumerate(a):
    if x == 0:
        print(i + 1)

Solution (Python):

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

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

for i, x in enumerate(X):
  if x == 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(input().split())
print(x.index('0')+1)

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