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

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

print(answer)

Submission status: Accepted

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

Submission status: Accepted

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





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

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:
print(input().split().index("0") + 1)

Submission status: Accepted

Solution code:
l = list(map(int, input().split()))
print(l.index(0) + 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)
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()))
print(str(x.index(0) + 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)
elif b == 0:
  print(2)
elif c == 0:
  print(3)
elif d == 0:
  print(4)
else:
  print(5)

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
import math

s = input().split()

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

Submission status: Accepted

Solution code:
x = [1, 2, 3, 4, 5]

values = input().split()

dic = dict(zip(x, values))

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

Submission status: Accepted

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

for i in range(5):
    if arr[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):
    j = i+1
    
print(j)

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
input = input()

nums = input.split(" ")

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

Submission status: Accepted

Solution code:
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(input().split())

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

Submission status: Accepted

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

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

ans = li.index(0)

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

print(x.index(0)+1)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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:

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

print(X.index(0) + 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:
# -*- coding: utf-8 -*-


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

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

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
lst = []

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

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

print(x.index(0)+1)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#n=int(input())
#a,b=map(int,input().split())
l=list(map(int,input().split()))
#l=[list(map(int,input().split())) for i in range(n)]

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

Submission status: Accepted

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

Submission status: Accepted

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

a = 0

#[1, 2, 3, 0, 5]
# 0  1  2  3  4
for i in range(0, len(mass)):
    if(mass[i] == 0):
        a = i

print(a + 1)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# ABC169A

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

Submission status: Accepted

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

for i, n in enumerate(nums):
    if n == 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)
    exit()

Submission status: Accepted

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

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

Submission status: Accepted

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

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()))
correct = 15
sum = 0
for i in x:
  sum += i
print(correct - sum)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
import math
#import random
#sys.setrecursionlimit(1000000)
input = sys.stdin.readline
 
############ ---- USER DEFINED INPUT FUNCTIONS ---- ############
def inp():
    return(int(input()))
def inara():
    return(list(map(int,input().split())))
def insr():
    s = input()
    return(list(s[:len(s) - 1]))
def invr():
    return(map(int,input().split()))
################################################################
############ ---- THE ACTUAL CODE STARTS BELOW ---- ############

ara=inara()

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

Submission status: Accepted

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

Submission status: Accepted

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

print(x.index(0) + 1)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

cnt=1

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from collections import defaultdict as dd
from collections import deque
import bisect
import heapq

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

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


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





mode = 's'

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(xs.index(0) + 1)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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


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

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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




main()

Submission status: Accepted

Solution code:



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


print(a.index(0)+1)

Submission status: Accepted

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

import sys

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

Submission status: Accepted

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

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

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

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

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
x=input().split()



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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
x=input().split()



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

Submission status: Accepted

Solution code:
x1, x2, x3, x4, x5 =(int(x) for x in input().split())
if x1 == 0:
  print('1')
elif x2 == 0:
  print('2')
elif x3 == 0:
  print('3')
elif x4 == 0:
  print('4')
elif x5 == 0:
  print('5')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import statistics
import math
import datetime
from collections import Counter
import itertools

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
input_numbers = []

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

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

print(x)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
input_numbers = []

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

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

print(x)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines

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

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
#intの場合


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

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

Submission status: Accepted

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

n=1

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

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:
li = list(map(int,input().split()))
for i in range(5):
    if li[i] == 0:
        print(i+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:
l=[int(x) for x in input().split(" ")]
z=[i+1 for i in range(len(l)) if l[i]==0]
a = ','.join(str(v) for v in z)
print(a)

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

Submission status: Accepted

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

print(original_total - modified_total)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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:
def test(list_a):
    i = 1
    for a in list_a:
        if a == 0:
            return i
        i += 1


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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
  ## IMPORT MODULE
  #import sys

  #sys.setrecursionlimit(100000)
  #input=lambda :sys.stdin.readline().rstrip()

  #f_inf=float("inf")
  #MOD=10**9+7
  
  if 'get_ipython' in globals(): 
    ## SAMPLE INPUT
    X=[0, 2, 3, 4, 5]

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

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

main()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A - Five Variables
x = list(map(int, input().split()))

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(x.index(0)+1)

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:
arr = list(map(int, input("").split())) 
if arr[0]==0:
   print(1)
if arr[1]==0:
  print(2)
if arr[2]==0:
  print(3)
if arr[3]==0:
  print(4)
if arr[4]==0:
  print(5)

Submission status: Accepted

Solution code:
from sys import stdin, stdout, setrecursionlimit
from collections import deque, defaultdict
import math

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

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

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

if __name__ == "__main__":
	main()

Submission status: Accepted

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

print(ans)

Submission status: Accepted

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

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

Submission status: Accepted

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


print(1 + x.index(0))

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
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:
s = input().split()
print(int(15)-(int(s[0])+int(s[1])+int(s[2])+int(s[3])+int(s[4])))

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

Submission status: Accepted

Solution code:
import sys

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
x = [int(i) for i in 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)
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 != 1:
    print(1)
elif x2 != 2:
    print(2)
elif x3 != 3:
    print(3)
elif x4 != 4:
    print(4)
elif x5 != 5:
    print(5)

Submission status: Accepted

Solution code:
list_a=list(map(int, input().split()))  #リスト入力

print(list_a.index(0)+1)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x1=list(input().split())
for i in range(0,len(x1)):
    if(x1[i]=="0"):
        print(i+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:
# coding: utf-8
# 日本語を入力できるようにするために上記一文が必要

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

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

print(ans)

Submission status: Accepted

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

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