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

Submission status: Accepted

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

for x in l:
    count += 1
    if x == 0:
        print(count)
        break

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n1, n2, n3, n4, n5 = map(int, input().split())

if n1 == 0:
  print(1)
elif n2 == 0:
  print(2)
elif n3 == 0:
  print(3)
elif n4 == 0:
  print(4)
else:
  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
nun_list = list(map(int, input().split()))
count=1
for i in nun_list:
    if i == 0:
        print(count)
        sys.exit()
    count+=1

Submission status: Accepted

Solution code:
a,b,c,d,e = map(int, input().split())
lis = [a,b,c,d,e]
for i,n in enumerate(lis):
  if n==0:
    print(i+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:
il = list(map(int, input().split()))
ans = 0

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def FiveVariables():

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

    number = FiveVariables.index(0) + 1

    print(number)

if __name__ == '__main__':
    FiveVariables()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = input().replace(' ', '')
print(X.find('0')+1)

Submission status: Accepted

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

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:
a=input().split(' ')
m=len(a)
b=0
while b<m:
    if a[b]=='0':
        print(b+1)
    b=b+1

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A

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

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

Submission status: Accepted

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

for i , j in enumerate(num, 1):
    if j == 0:
        ans = i

print(ans)

Submission status: Accepted

Solution code:
s = input().split()
if s[0] == "0":
    print("1")
elif s[1]=="0":
    print("2")
elif s[2] == "0":
    print("3")
elif s[3]=="0":
    print("4")
elif s[4] == "0":
    print("5")

Submission status: Accepted

Solution code:
from sys import stdin
data = list(map(int, stdin.readline().rstrip().split()))

print(15 - sum(data))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sun Jun 14 21:02:52 2020

@author: NEC-PCuser
"""

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

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

Submission status: Accepted

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

answer = x.index(0) + 1

print(answer)

Submission status: Accepted

Solution code:
import math
from collections import deque
from collections import defaultdict
import itertools as it

#自作関数群
def readInt():
	return int(input())
def readInts():
	return list(map(int, input().split()))
def readChar():
	return input()
def readChars():
	return input().split()
def factorization(n):
	res = []
	if n%2==0:
		res.append(2)
	for i in range(3,math.floor(n//2)+1,2):
		if n%i==0:
			c = 0
			for j in res:
				if i%j==0:
					c=1
			if c==0:
				res.append(i)
	return res
def fact2(n):
	p = factorization(n)
	res = []
	for i in p:
		c=0
		z=n
		while 1:
			if z%i==0:
				c+=1
				z/=i
			else:
				break
		res.append([i,c])
	return res
def fact(n):#階乗
	ans = 1
	m=n
	for _i in range(n-1):
		ans*=m
		m-=1
	return ans
def comb(n,r):#コンビネーション
	if n<r:
		return 0
	l = min(r,n-r)
	m=n
	u=1
	for _i in range(l):
		u*=m
		m-=1
	return u//fact(l)
def combmod(n,r,mod):
	return (fact(n)/fact(n-r)*pow(fact(r),mod-2,mod))%mod
def printQueue(q):
	r=copyQueue(q)
	ans=[0]*r.qsize()
	for i in range(r.qsize()-1,-1,-1):
		ans[i] = r.get()
	print(ans)
class UnionFind():
	def __init__(self, n):
		self.n = n
		self.parents = [-1]*n

	def find(self, x): # root
		if self.parents[x]<0:
			return x
		else:
			self.parents[x] = self.find(self.parents[x])
			return self.parents[x]

	def union(self,x,y):
		x = self.find(x)
		y = self.find(y)

		if x==y:
			return

		if self.parents[x]>self.parents[y]:
			x,y = y,x

		self.parents[x]+=self.parents[y]
		self.parents[y]=x

	def size(self,x):
		return -1*self.parents[self.find(x)]

	def same(self,x,y):
		return self.find(x)==self.find(y)

	def members(self,x): # much time
		root = self.find(x)
		return [i for i in range(self.n) if self.find(i)==root]

	def roots(self):
		return [i for i,x in enumerate(self.parents) if x<0]

	def group_count(self):
		return len(self.roots())

	def all_group_members(self):
		return {r: self.members(r) for r in self.roots()} # 1~n
def bitArr(n):#ビット全探索
	x = 1
	zero = "0"*n
	ans = []
	ans.append([0]*n)
	for i in range(2**n-1):
		ans.append(list(map(lambda x:int(x),list((zero+bin(x)[2:])[-1*n:]))))
		x+=1
	return ans;
def arrsSum(a1,a2):
	for i in range(len(a1)):
		a1[i]+=a2[i]
	return a1
def maxValue(a,b,v):
	v2 = v
	for i in range(v2,-1,-1):
		for j in range(v2//a+1): #j:aの個数
			k = i-a*j
			if k%b==0:
				return i
	return -1
def copyQueue(q):
	nq = queue.Queue()
	n = q.qsize()
	for i in range(n):
		x = q.get()
		q.put(x)
		nq.put(x)
	return nq
def get_sieve_of_eratosthenes(n):
	#data = [2]
	data = [0,0,0]
	for i in range(3,n+1,2):
		data.append(i)
		data.append(0)
	for i in range(len(data)):
		interval = data[i]
		if interval!=0:
			for j in range(i+interval,n-1,interval):
				data[j] = 0
	#ans = [x for x in data if x!=0]
	ans = data[:]
	return ans

x = readInts()

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

print(ans)

Submission status: Accepted

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

print(nums.index(0)+1)

Submission status: Accepted

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

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

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:
a,b,c,d,e=input().split()
result=a+b+c+d+e
count=0
for i in result:
    count+=1
    if i=='0':
        print(count)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=input()
a=a.replace(" ","")
print(a.find("0")+1)

Submission status: Accepted

Solution code:
import random

a = input().split()

for i in range(0, len(a)):
  x = int(a[i])
  
  if x == 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:
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:
import sys
input = sys.stdin.readline

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

print(ans +1)

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

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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

Solution code:
import sys
import numpy as np

readline = sys.stdin.readline

x = np.array(readline().split(), dtype=np.int64)
ans = np.where(x==0)[0][0] + 1
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c,d,e = map(int, input().split())		# 5 7 2

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

Submission status: Accepted

Solution code:
xs = input('').split(' ')

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

n = [int(s) for s in n]

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")
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())
print(15-(x1+x2+x3+x4+x5))

Submission status: Accepted

Solution code:
a = [int(x) for x in 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()))

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

list = [a, b, c, d, e]
print(list.index(0) + 1)

Submission status: Accepted

Solution code:
#x1, x2, x3, x4, x5 = input().split()
x_list = input().split()
ans = 1
for x in x_list:
    if x == "0":
        break
    else:
        ans += 1

print(ans)

Submission status: Accepted

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

for index, num in enumerate(num_list):
    if num == 0:
        print(index + 1)
        break

Submission status: Accepted

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

for i, num in enumerate(s, 1):
    if num == 0:
        print(i)

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
        break

print(ans+1)

Submission status: Accepted

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

print(a.index(0)+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 = list(input().split())
print(x.index('0') + 1)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
"""
int #整数
float #小数

#標準入力
a=input()
a,b=map(int,input().split()) #入力は行ごと
#標準出力
print(a)
ptrint("Hello")
#for
for name in fruits: #fruitの頭から操作
    print(name)
#リスト
list0 = [] #リスト生成
list0 = [1,2,3,4] #初期化
list0 = [0]*10 #[0,0,0,0,0,0,0,0,0,0]
list1 = list(map(int, input().strip().split()))　# 複数の入力をリストに入れる
list1 = list1 + [6, 7, 8] #リストの追加
list2.append(34) #リストの追加　最後に（）内が足される
list.insert(3,10) #リストの追加　任意の位置（追加したい位置,追加したい値）
len(list4) #リストの要素数
list5.count(2) #リスト内の2の数
abs(a) #aの絶対値
max(a,b) min(a,b) #最大値　最小値

extension_1 = []
for i in range(10):
    extension_1.append(i)
extension_1
#>>> [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]

comprehension_1= [i for i in range(10)]
comprehension_1
#>>> [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
"""
import math
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)

Submission status: Accepted

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

if a == 0:
    ans = 1

if b == 0:
    ans = 2

if c == 0:
    ans = 3

if d == 0:
    ans = 4

if e == 0:
    ans = 5

print(ans)

Submission status: Accepted

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

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

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


if 'unittest' not in globals():
    resolve()

Submission status: Accepted

Solution code:
if __name__=="__main__":
    # Problem A
    x = map(int, input().split(' '))
    for idx, _x in enumerate(x):
        if _x == 0:
            print(idx+1)

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

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

Submission status: Accepted

Solution code:
a, b, c, d, e = map(int, input().split())
x = 0
if a == 0:
    x =1
if b == 0:
    x =2
    
if c == 0:
    x =3
    
if d == 0:
    x =4
    
if e == 0:
    x =5
    
print(x)

Submission status: Accepted

Solution code:

N = input().split()
ans = N.index('0')
print(ans+1)

Submission status: Accepted

Solution code:

from math import gcd
from functools import reduce
from itertools import product
import numpy as np

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


if __name__ == "__main__":
  resolve()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

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

for idx, item in enumerate(lst):
    if item == 0:
        print(idx+1)

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
x = list(map(int,input().split()))
for i in range(1,6):
    if i in x:
        continue
    print(i)
    break

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
x_1,x_2,x_3,x_4,x_5=input().split()
x_1=int(x_1)  
x_2=int(x_2)   
x_3=int(x_3)   
x_4=int(x_4)   
x_5=int(x_5)
i=1
if x_1==0:
    print(1)
if x_2==0:
    print(2)
if x_3==0:
    print(3)
if x_4==0:
    print(4)
if x_5==0:
    print(5)

Submission status: Accepted

Solution code:
import numpy as np


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


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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
p=list(map(int,input().split()))
count=1
for item in p:
  if item==0:
    print(count)
  else:
    count+=1
    continue

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
x = input().split()
ans = 0
for i in range(5):
  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:
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 = 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:

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():

    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)

main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

    ans += 1

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import copy

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import numpy as np

Xs = np.array(list((map(int, input().split()))))
ans = 1 + 2 + 3 + 4 + 5
print(ans - Xs.sum())

Submission status: Accepted

Solution code:
_input = input().split(" ")
for _i in range(5):
  if _input[_i] == "0":
    print(_i + 1)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline


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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x=str(input())
print(x.find('0')//2+1)

Submission status: Accepted

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

Submission status: Accepted

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

for i in range(5):
  if a_list[i] - i != 1:
    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)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# 別変数の整数複数個
X = [int(x) for x in input().strip().split(" ")]

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(n.index(0) +1 )

Submission status: Accepted

Solution code:
mod = 1000000007
eps = 10**-9


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

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline


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

if __name__ == '__main__':
    main()

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:
a1, a2, a3, a4, a5 = map(int, input().split())
if a1 == 0:
    print('1')
if a2 == 0:
    print('2')
if a3 == 0:
    print('3')
if a4 == 0:
    print('4')
if a5 == 0:
    print('5')

Submission status: Accepted

Solution code:
#!/usr/local/bin/python3
# coding: utf-8

ha = input()
kita = ha.split(" ")
for i in range(5):
    if(int(kita[i]) == 0):
        print(i + 1)

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys 
from collections import deque
sys.setrecursionlimit(10**6)
def S(): return sys.stdin.readline().rstrip()
def SL(): return map(str,sys.stdin.readline().rstrip().split())
def I(): return int(sys.stdin.readline().rstrip())
def IL(): return map(int,sys.stdin.readline().rstrip().split())
def LS(): return list(sys.stdin.readline().rstrip().split())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))

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

if __name__=='__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def actual(X):
    idx = X.index(0)

    return [1, 2, 3, 4, 5][idx]

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

Submission status: Accepted

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

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

Submission status: Accepted

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

for i, x in enumerate(Xs):
    index = i+1
    if index != x:
        print(index)
        break

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

import sys
import math


debug = False

def log(text):
    if debug:
        print(text)

def parse_input(lines_as_string = None):

    global debug
    lines = []
    if lines_as_string is None:
        debug = False
        # for line in sys.stdin:
        #     lines.append(line)
        lines.append(input())
    else:
        debug = True
        lines = [e for e in lines_as_string.split("\n")][1:-1]

    x = [int(e) for e in lines[0].split(' ')]

    return (x, )


def solve(x):



    return x.index(0) + 1
    


def main():
    # 出力
    result = solve(*parse_input())
    if isinstance(result, list):
        for r in result:
            print("%s" % r, sep='')
    else:
        print("%s" % result, sep='')

if __name__ == '__main__':

    main()