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



Sample input:
0 2 3 4 5


Sample output:
1

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
numlist = [int(x) for x in input().split()]

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

Submission status: Accepted

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

Submission status: Accepted

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

print(ans)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
s = list(map(int, input().split()))
for i, num in enumerate(s):
  if(num == 0):
    print(i+1)
    exit()

Submission status: Accepted

Solution code:
X1,X2,X3,X4,X5 = map(int, input().split())
lis = [X1,X2,X3,X4,X5]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x=1
for i in input().split():
    if i=='0':
        print(x)
        break
    else:
        x+=1

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
Xs = input().split()

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

Submission status: Accepted

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

print (x.index(0)+1)

Submission status: Accepted

Solution code:
xs = map(int, input().strip().split())

originals = [1, 2, 3, 4, 5]

for i, x in enumerate(xs):
    if x != originals[i]:
        print(originals[i])
        break

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

import glob
import os

bn = os.path.basename(__file__).split('.')[0]
dn = os.path.dirname(__file__).split('/')

# 問題ごとのディレクトリのトップからの相対パス
REL_PATH = dn[len(dn)-2] + '\\' + dn[len(dn)-1] + '\\' + bn

# テスト用ファイル置き場のトップ
TOP_PATH = 'C:\\AtCoder'

class Common:

    problem = []
    index = 0

    def __init__(self, rel_path):
        self.rel_path = rel_path

    def initialize(self, path):
        file = open(path)
        self.problem = file.readlines()
        self.index = 0
        return

    def input_data(self):
        try:
            IS_TEST
            self.index += 1
            return self.problem[self.index-1]

        except NameError:
            return input()

    def resolve(self):
        pass

    def exec_resolve(self):
        try:
            IS_TEST
            for path in glob.glob(TOP_PATH + '\\' + self.rel_path + '/*.txt'):
                print("Test: " + path)
                self.initialize(path)
                self.resolve()
                print("\n\n")
        except NameError:
            self.resolve()


class Solver(Common):

    def resolve(self):

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


solver = Solver(REL_PATH)
solver.exec_resolve()

Submission status: Accepted

Solution code:
A=list(input().split())
ans=int(A.index("0")+1)
print(ans)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def main():
    A = list(map(int, input().split()))
    for i in range(5):
        if A[i] != i + 1:
            return i + 1

print(main())

Submission status: Accepted

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

def main():
    S = list(input().split())
    for i, s in enumerate(S):
        if s == '0':
            print(i + 1)
            exit()
if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x1,x2,x3,x4,x5=map(int,input().split())
list=[]
list.append(x1)
list.append(x2)
list.append(x3)
list.append(x4)
list.append(x5)
for i in range(5):
  if list[i]==0:
    print(i+1)
    break

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
import collections
input = sys.stdin.readline
#s=list(input())
#n=int(input())
A= list(map(int,input().split()))
#a,b,c,d,e= map(int,input().split())
for i in range(5):
    if A[i]==0:
      print(i+1)
      sys.exit()

Submission status: Accepted

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

print(x.index(0)+ 1)

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys


def main():
    input = sys.stdin.buffer.readline
    xs = map(int, input().split())
    for i, x in enumerate(xs):
        if x == 0:
            print(i + 1)


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:

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

    print(x.index(0)+1)


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

print(result)

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

Solution code:
lists = list(input().split())
counter = 1
for i in lists:
  if i == '0':
    break
  counter = counter + 1
print(str(counter))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
x = list(map(int, input().split()))
for i in range(5):
    if x[i] == 0:
        print(i+1)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a = list(map(int, input().split()))
ans = 0
for i, v in enumerate(a):
    if v == 0:
        ans = i
        break

print(ans+1)

Submission status: Accepted

Solution code:

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

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
c = list(map(int, input().split()))
if 0 in c:
    print(c.index(0)+1)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

Solution code:
s = input().split()

ans = s.index("0") + 1

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
x=list(int(i) for i in input().split())

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

Submission status: Accepted

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

ans = 0

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

i = xs.index(0)

print(i + 1)

Submission status: Accepted

Solution code:
X = [*map(int,input().split())]
for i in range(len(X)):
    if X[i] == 0:
        print(i+1)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
x = list(map(int,input().split()))
N = len(x)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
xs = input().split()
print(xs.index("0") + 1)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
num_list = list(map(int, input().split()))
if 0 in num_list:
    print(num_list.index(0) + 1)

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
line=input().split(" ")
j=0
for i in line:
  j=j+1
  if i=="0":
    print(j)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
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)

Submission status: Accepted

Solution code:
List = list(map(int, input().split()))
res = 0
for i in range(len(List)):
  if List[i] == 0:
    res = i+1
  else:
    pass
print(res)

Submission status: Accepted

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

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

print(cnt)

Submission status: Accepted

Solution code:
A = list(map(int, input().split()))
res = 0
if A[0] == 0:
    print(1)
if A[1] == 0:
    print(2)
if A[2] == 0:
    print(3)
if A[3] == 0:
    print(4)
if A[4] == 0:
    print(5)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def i():
	return int(input())
def i2():
	return map(int,input().split())
def s():
	return str(input())
def l():
	return list(input())
def intl():
	return list(int(k) for k in input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:


print(input().split(" ").index("0") + 1)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import math

a1,a2,a3,a4,a5 = list(map(int,input().split()))

if a1 == 0:
    print(1)
elif a2 == 0:
    print(2)
elif a3 == 0:
    print(3)
elif a4 == 0:
    print(4)
elif a5 == 0:
    print(5)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# = int(input())
# = map(int, input().split())
x = list(map(int, input().split()))
# = [int(input()) for i in range(N)]
# = [list(map(int, input().split())) for i in range(N)]

print(x.index(0)+1)

Submission status: Accepted

Solution code:
A = [int(i) for i in input().split()]

print(A.index(0)+1)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B, C, D, E = (int(x) for x in 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)

Submission status: Accepted

Solution code:
for i,x in enumerate(input().split()):
    if x == '0':
        print(i+1)

Submission status: Accepted

Solution code:


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)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x1, x2, x3, x4, x5 = list(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)

Submission status: Accepted

Solution code:
# coding cell (SUBMIT ONLY THIS CELL)

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

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

Submission status: Accepted

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

if 1 not in x:
    print('1')
elif 2 not in x:
    print('2')
elif 3 not in x:
    print('3')
elif 4 not in x:
    print('4')
elif 5 not in x:
    print('5')

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = list(map(int,input().split()))
c = 1
for i in x:
    if i != c:
        print(c)
        break
    c += 1

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#! -*- env/bin/local python3 -*-

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys

def II(): return int(input())
def MI(): return map(int,input().split())
def LI(): return list(map(int,input().split()))
def TI(): return tuple(map(int,input().split()))
def RN(N): return [input().strip() for i in range(N)]


def main():
    x = LI()
    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)
    print()

if __name__ == "__main__":
	main()

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
input_list = list(map(int, input().split(' ')))
print(input_list.index(0)+1)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# 標準入力の取得
x = list(map(int, input().split()))

# 求解処理
result = x.index(0) + 1

# 結果出力
print(result)

Submission status: Accepted

Solution code:
S=list(map(int,input().split()))
i=0
while S[i]>0:
  i+=1
print(i+1)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
x = list(map(int,input().split()))
if sum(x) == 14:
  print(1)
elif sum(x) == 13:
  print(2)
elif sum(x) == 12:
  print(3)
elif sum(x) == 11:
  print(4)
else:
  print(5)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print (arr.index(0)+1)

Submission status: Accepted

Solution code:
def main():
    A_list = [A for A in input().split()]
    A_list = list(map(int, A_list))
    if A_list[0] == 0 :
        print("1")
    elif A_list[1] == 0 :
        print("2")
    elif A_list[2] == 0 :
        print("3")
    elif A_list[3] == 0 :
        print("4")
    else :
        print("5")



if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a=list(map(int, input().split()))
c = 0
for i in a:
  c +=1
  if i == 0:
    break
print(c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
read = sys.stdin.buffer.read
sys.setrecursionlimit(10 ** 7)
INF = float('inf')

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
  arr = list(map(int, input().split(" ")))
  for i, a in enumerate(arr):
    if a == 0:
      print(i+1)
      break
      
if __name__ == "__main__":
  main()

Submission status: Accepted

Solution code:
#atcoder template
def main():
    import sys
    imput = sys.stdin.readline
    #文字列入力の時は上記はerrorとなる。
    #ここにコード
    #input
    x = list(map(int, input().split()))

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

    #N = 1のときなどcorner caseを確認！
if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
import numpy as np
import math
import scipy as sp
import queue
import collections

MOD = 10 ** 9 + 7
INF = 10 ** 9

def main(kwargs):
    X = kwargs["X"]
    res = 0

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

    return res

if __name__ == "__main__":
    kwargs = {}

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

    cout = main(kwargs)
    print(cout)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


def S():
    return input().rstrip()


def I():
    return int(input())


def MI():
    return map(int, input().split())


x = list(MI())

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

Submission status: Accepted

Solution code:
def five(x):
    return x.index(0)+1

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

Submission status: Accepted

Solution code:

a, b, c, d, e = (int(x) for x in input().split())

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)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = list(map(int, input().split()))
# a,b=map(int, input().split())  #複数数値入力　「A B」みたいなスペース空いた入力のとき
# c=list(map(int, input().split()))  #リスト入力 「a1 a2 a3 ...」みたいな配列のような入力のとき
# s=[list(map(int,list(input()))) for i in range(h)]  # 二次元配列入力　二次元マップみたいな入力のとき

#K = int(input())
#S = input()

##一次元配列の初期化
#a=[0]*5
#[i for i in range(100) if i%2==1] #奇数のみ
##二次元配列の初期化
#[[float("inf") for i in range(N)] for i in range(N)]

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

print(i+1)

Submission status: Accepted

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

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

print(ans)

Submission status: Accepted

Solution code:
from sys import stdin
from copy import deepcopy
from functools import reduce
from fractions import gcd
import math
import itertools
from collections import Counter
from itertools import chain  ##list(chain.from_iterable(l)) ##flatten
from heapq import heappush, heappop
import bisect


"""
N = int(input())
A, B = map(int,input().split())
A = list(map(int,input().split())) ## 横一列
A = [int(input()) for _ in range(N)] ## 縦一列
lst = [list(map(int,input().split())) for i in range(M)] ## 二次元
"""


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

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

Submission status: Accepted

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

print( x.index(0) + 1)