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

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

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

Solution (Python):
x1, x2, x3, x4, x5 =map(int, input().split())
list=[x1,x2,x3,x4,x5]
for idx, i in enumerate(list):
  if i==0:
    print(idx+1)

Solution (Python):
a =[1,2,3,4,5]
x = list(map(int,input().split()))
for num in range(5):
  if(a[num] != x[num]):
    print("{}".format(num+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()))

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

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

Solution (Python):
import sys


def log(s):
    
    pass


def output(x):
    print(x, flush=True)


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


def main():
    xx = input_ints()
    print(xx.index(0)+1)


main()

Solution (Python):
liste = [int(x) for x in input().split()]
print(int(liste.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):
print(15-sum(map(int,input().split())))

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

Solution (Python):
import numpy as np
def A():
    xlist  = list(map(int,input().split()))
    xnp = np.array(xlist)
    xplace = np.where(xnp==0)
    print(str(xplace[0][0]+1))

A()

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

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

for x in range(len(xs)):
  if(xs[x] == 0):
    print(x+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()))

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

Solution (Python):
from math import gcd

from math import factorial as f

from math import ceil,floor,sqrt
import math

import bisect
import re
import heapq


from copy import deepcopy
import itertools
from itertools import permutations

from sys import exit

ii = lambda : int(input())
mi = lambda : map(int,input().split())
li = lambda : list(map(int,input().split()))


yes = "Yes"
no = "No"


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


main()

Solution (Python):
import sys


def main():
    x = [int(i) for i in input().split()]
    for i in range(len(x)):
        if x[i] == 0:
            print(i + 1)
            return 0
    return 0


if __name__ == '__main__':
    main()

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

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

    return variables.index(0) + 1


def main():
    print(solve())


if __name__ == "__main__":
    main()

Solution (Python):
import sys
input = lambda: sys.stdin.readline().rstrip("\r\n")

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

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

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

Solution (Python):

from collections import defaultdict, deque
from heapq import heappush, heappop
from itertools import permutations
import sys
import math
import bisect

def LI(): return [int(x) for x in sys.stdin.readline().split()]


def I(): return int(sys.stdin.readline())


def LS(): return [list(x) for x in sys.stdin.readline().split()]


def S():
    res = list(sys.stdin.readline())
    if res[-1] == "\n":
        return res[:-1]
    return res


def IR(n):
    return [I() for i in range(n)]


def LIR(n):
    return [LI() for i in range(n)]


def SR(n):
    return [S() for i in range(n)]


def LSR(n):
    return [LS() for i in range(n)]


sys.setrecursionlimit(1000000)
mod = 1000000007


def solve():
    li = LI()
    print(li.index(0) + 1)
    return


if __name__ == "__main__":
    solve()

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

Solution (Python):

from collections import defaultdict, deque
from heapq import heappush, heappop
from itertools import permutations, accumulate
import sys
import math
import bisect
def LI(): return [int(x) for x in sys.stdin.readline().split()]
def I(): return int(sys.stdin.readline())
def LS():return [list(x) for x in sys.stdin.readline().split()]
def S():
    res = list(sys.stdin.readline())
    if res[-1] == "\n":
        return res[:-1]
    return res
def IR(n):
    return [I() for i in range(n)]
def LIR(n):
    return [LI() for i in range(n)]
def SR(n):
    return [S() for i in range(n)]
def LSR(n):
    return [LS() for i in range(n)]

sys.setrecursionlimit(1000000)

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

main()

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

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

Solution (Python):
res = [int(idx) for idx in input().split()]
count = 0
for idx in res:
  if idx == 0:
    if count == 4:
      print(res[count-1]+1)
      break
    elif count == 0:
      print(res[count+1]-1)
      break
    else:
      print(res[count+1]-1)
      break
  count += 1

Solution (Python):

import sys

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

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

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

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

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

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

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

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

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

for i,elm in enumerate(arr):
    if elm==0: ans = i+1; break

print(ans)

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

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

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

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

Solution (Python):
import sys
data = [int(i) for i in input().split()]

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

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

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

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

print(list_.index(0) + 1)

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

a=x.index(0)

print(a+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()))
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):
print(15-sum(map(int,input().split())))

Solution (Python):
arr = list(map(int, input().split()))
print(arr.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)
elif x[4] == 0:
  print(5)

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

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

print(k)

Solution (Python):
from sys import stdin,stdout
from math import gcd,sqrt
from collections import deque
input=stdin.readline
R=lambda:map(int,input().split())
I=lambda:int(input())
S=lambda:input().rstrip('\n')
L=lambda:list(R())
P=lambda x:stdout.write(x)
hg=lambda x,y:((y+x-1)//x)*x
pw=lambda x:1 if x==1 else 1+pw(x//2)
chk=lambda x:chk(x//2) if not x%2 else True if x==1 else False
print(list(map(int,input().split())).index(0)+1)

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

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

Solution (Python):

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


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

Solution (Python):


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

for i,x in enumerate(X):
    if x == 0:
        print("{}".format(i+1))
        break

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

Solution (Python):
import math
import time
from collections import defaultdict, deque
from sys import stdin, stdout
from bisect import bisect_left, bisect_right
a=list(map(int,stdin.readline().split()))
for i in range(5):
    if(a[i]==0):
        print(i+1)
        break

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

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

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

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

ans = len(list_x) - len(list_x[list_x.index('0')::]) + 1

print(ans)

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

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

Solution (Python):

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


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

    print(cnt)



if __name__ == "__main__":
    main()

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

X = 0
for i in range(5):
    M = Input[i]
    M = int(M)
    N = i + 1
    if M != N:
        X = N

print(X)

Solution (Python):
import sys

def input():
    return sys.stdin.readline()[:-1]


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):
data = input().split()
for i in  range(len(data)):
  if data[i] == "0":
    print(i + 1);

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

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

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

print(n_list.index(0) + 1)

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

Solution (Python):
if __name__ == '__main__':
    arr = list(map(int, input().split()))
    for i in range(len(arr)):
        if arr[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):
l = list(map(int, input().split()))
for i,j in enumerate(l):
  if j == 0:
    print(i+1)
    break

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

Solution (Python):

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

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

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

print(x.index(0)+1)

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

print(l.index(0)+1)

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

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

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

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

if arr[0]==0:
  print(1)
elif arr[1]==0:
  print(2)
elif arr[2]==0:
  print(3)
elif arr[3]==0:
  print(4)
else:
  print(5)

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

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

Solution (Python):

import sys
from collections import deque
from itertools import *
 
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())
 
x = LS()
 
for i,xx in enumerate(x):
    if xx == '0':
        print(i+1)
        exit()

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

Solution (Python):

import sys
from collections import deque
from itertools import *
 
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())
 
x = LS()
 
for i,xx in enumerate(x):
    if xx == '0':
        print(i+1)
        exit()

Solution (Python):

import sys
from collections import deque
from itertools import *
 
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())
 
x = LS()
 
for i,xx in enumerate(x):
    if xx == '0':
        print(i+1)
        exit()

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

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

print(x.index(0) + 1)

Solution (Python):
A=[int(_) for _ in input().split()]
print(15-sum(A))

Solution (Python):
def run(x):
    '''
    '''
    for i,v in enumerate(x):
        if v == 0:
            print(i+1)


if __name__ == '__main__':
    x = list(map(int, input().split()))
    run(x)

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

Solution (Python):
a=[]
a=input().split()
for i in range(5):
 if a[i]=='0':
  print(str(i+1))
 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):
def run(x):
    '''
    '''
    for i,v in enumerate(x):
        if v == 0:
            print(i+1)


if __name__ == '__main__':
    x = list(map(int, input().split()))
    run(x)

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

Solution (Python):
sm = j = 0
for i in map(int, input().split()):
    j+=1
    p = sm
    sm+=i
    if sm==p: print(j); break

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

for idx, num in enumerate(num_list):
  if num == 0:
    print(idx + 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):
"""
    Satwik_Tiwari ;) .
    16 june , 2020  - Tuesday
"""



from __future__ import division, print_function

from fractions import Fraction
import sys
import os
from io import BytesIO, IOBase


import bisect
from heapq import *
from math import *
from collections import deque
from collections import Counter as counter  
from itertools import combinations as comb 
from itertools import permutations as permutate
from bisect import bisect_left as bl


from bisect import bisect_right as br
from bisect import bisect





BUFSIZE = 8192


class FastIO(IOBase):
    newlines = 0

    def __init__(self, file):
        self._fd = file.fileno()
        self.buffer = BytesIO()
        self.writable = "x" in file.mode or "r" not in file.mode
        self.write = self.buffer.write if self.writable else None

    def read(self):
        while True:
            b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
            if not b:
                break
            ptr = self.buffer.tell()
            self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
        self.newlines = 0
        return self.buffer.read()

    def readline(self):
        while self.newlines == 0:
            b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
            self.newlines = b.count(b"\n") + (not b)
            ptr = self.buffer.tell()
            self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
        self.newlines -= 1
        return self.buffer.readline()

    def flush(self):
        if self.writable:
            os.write(self._fd, self.buffer.getvalue())
            self.buffer.truncate(0), self.buffer.seek(0)


class IOWrapper(IOBase):
    def __init__(self, file):
        self.buffer = FastIO(file)
        self.flush = self.buffer.flush
        self.writable = self.buffer.writable
        self.write = lambda s: self.buffer.write(s.encode("ascii"))
        self.read = lambda: self.buffer.read().decode("ascii")
        self.readline = lambda: self.buffer.readline().decode("ascii")


def print(*args, **kwargs):
    """Prints the values to a stream, or to sys.stdout by default."""
    sep, file = kwargs.pop("sep", " "), kwargs.pop("file", sys.stdout)
    at_start = True
    for x in args:
        if not at_start:
            file.write(sep)
        file.write(str(x))
        at_start = False
    file.write(kwargs.pop("end", "\n"))
    if kwargs.pop("flush", False):
        file.flush()


if sys.version_info[0] < 3:
    sys.stdin, sys.stdout = FastIO(sys.stdin), FastIO(sys.stdout)
else:
    sys.stdin, sys.stdout = IOWrapper(sys.stdin), IOWrapper(sys.stdout)






mod = 1000000007
def inp(): return sys.stdin.readline().rstrip("\r\n") 
def out(var): sys.stdout.write(str(var))  
def lis(): return list(map(int, inp().split()))
def stringlis(): return list(map(str, inp().split()))
def sep(): return map(int, inp().split())
def strsep(): return map(str, inp().split())
def graph(vertex): return [[] for i in range(0,vertex+1)]
def zerolist(n): return [0]*n
def nextline(): out("\n")  
def testcase(t):
    for p in range(t):
        solve()
def printlist(a) :
    for p in range(0,len(a)):
        out(str(a[p]) + ' ')
def lcm(a,b): return (a*b)//gcd(a,b)
def power(a,b):
    ans = 1
    while(b>0):
        if(b%2==1):
            ans*=a
        a*=a
        b//=2
    return ans
def ncr(n,r): return factorial(n)//(factorial(r)*factorial(max(n-r,1)))
def isPrime(n) : 
    if (n <= 1) : return False
    if (n <= 3) : return True
    if (n % 2 == 0 or n % 3 == 0) : return False
    i = 5
    while(i * i <= n) :
        if (n % i == 0 or n % (i + 2) == 0) :
            return False
        i = i + 6
    return True




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



testcase(1)

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

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

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

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

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

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

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

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

Solution (Python):




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


print(a.index(0)+1)

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

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

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

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

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

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

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

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

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

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

Solution (Python):

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

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

Solution (Python):
a,b,c,d,e = map(int, input().split())
numlist = [a,b,c,d,e]
print(numlist.index(0)+1)

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

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

Solution (Python):
n = 5
Si = n*(n+1)/2
lst = list(map(int,input().split()))
Sr = sum(lst)
print(int(Si-Sr))

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

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

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

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

Solution (Python):

"""
Spyderエディタ

これは一時的なスクリプトファイルです
"""

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

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

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

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)

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

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):
x = list(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:
    break;
    
print(i+1)

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

Solution (Python):
import sys
 
a = sys.stdin.read()
for i, v in enumerate(map(int, a.split()), 1):
  if v == 0:
    print(i)
    break