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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
import numpy as np
a = np.array([int(x) for x in input().split()])
for i,j in enumerate(a):
    if j ==0:
        print(i+1)
        break

Submission status: Accepted

Solution code:
X = [int(i) for i in input().split()]
for c, x in enumerate(X):
  if x == 0:
  	print(c+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()))
print(A.index(0)+1)

Submission status: Accepted

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

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

Submission status: Accepted

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

print(X.index(0) + 1)

Submission status: Accepted

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

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=list(map(int,input().split()))
count=1
for x in a:
  if x!=0:
    count+=1
  else:
    break
print(count)

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
import math

l=list(map(int,input().split()))
l2=[False]*6
for i in range(5):
    l2[l[i]]=True
for i in range(len(l2)):
    if l2[i]==0:
        print(i)
        break

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B, C, D, E = map(int, input().split())

result = 15 - (A+B+C+D+E)
print(result)

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 = (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:
X = input().split()
         
for i,num in enumerate(X):
	if num == "0":
		print(int(i)+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)

else: 
  print(5)

Submission status: Accepted

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

print(x.index(0)+1)

Submission status: Accepted

Solution code:
str1 = input()

A = str1.split(" ")

i = 1
for a in A:
    if a == "0":
        print(i)
    else:
        i = 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)
    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)
        break

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=list(input().split())
a=[int(s) for s in a]
i=1
for test in a:
    if(test==0):
        print(i)
    else:
        i=i+1

Submission status: Accepted

Solution code:
A, B, C, D, E = map(int, input().split())

def Main(A, B, C, D, E):
    li = (A, B, C, D, E)
    for i in range(5):
        if li[i] == 0:
            return i+1

print(Main(A, B, C, D, E))

Submission status: Accepted

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

Submission status: Accepted

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

a = i.index(0)
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)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# 整数の入力
l = map(int, input().split())
# loop
for i, num in enumerate(l):
  if num == 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)

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 i in a:
    if i == 0:
        ans = a.index(i)+1
        break

print(ans)

Submission status: Accepted

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

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:
a=list(map(int,input().split()))
if not 1 in a:
    print(1)
elif not 2 in a:
    print(2)
elif not 3 in a:
    print(3)
elif not 4 in a:
    print(4)
else:
    print(5)

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
import  math
import fractions
from collections import defaultdict
stdin = sys.stdin
     
ns = lambda: stdin.readline().rstrip()
ni = lambda: int(stdin.readline().rstrip())
nm = lambda: map(int, stdin.readline().split())
nl = lambda: list(map(int, stdin.readline().split()))


n_l=nl()
inds=n_l.index(0)
print(inds+1)

Submission status: Accepted

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

Submission status: Accepted

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

print(int(L.index(0)+1))

Submission status: Accepted

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

for i, xi in enumerate(x_list):
  if xi == 0:
    out = i+1
    break
  else:
    pass

print(out)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
A=list(map(int,input().split()))
i = A.index(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:
A,B,C,D,E = (int(x) for x in input().split())
renketsu = str(A)+str(B)+str(C)+str(D)+str(E)
print(renketsu.find("0")+1)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
#%% for atcoder uniittest use
import sys
input= lambda: sys.stdin.readline().rstrip()
def pin(type=int):return map(type,input().split())
def tupin(t=int):return tuple(pin(t))
def lispin(t=int):return list(pin(t))
#%%code
def resolve():
    a=lispin()
    print(a.index(0)+1)
#%%submit!
resolve()

Submission status: Accepted

Solution code:
a = input()

l = a.split()
for i in range(5):
    if l[i]=='0':
        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)
elif x5 == 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:
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,=map(int,input().split())
if 0 == x1:
    print("1")
elif 0 == x2:
    print("2")
elif 0 ==x3:
    print("3")
elif 0 == x4:
    print("4")
else:
    print("5")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
def main():
    inp = list(map(int, input().split()))
    ans = -1
    for i, x in enumerate(inp):
        if x == 0:
            ans = i + 1
    print(ans)
if __name__ == "__main__":
    main()

Submission status: Accepted

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

print(a_L.index(0)+1)

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:

x = []*5
x = list(map(int,input().split()))



for i in range(0,5):
    if (x[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')
elif e==0:
    print('5')

Submission status: Accepted

Solution code:
A=input().split()
print(A.index('0')+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)

Submission status: Accepted

Solution code:
def main():
    nums = map(int, input().split())
    for i, num in enumerate(nums, 1):
        if num == 0:
            print(i)
            break
            
if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import math
list1=list(map(int,input().split(" ")))
ln1=[1,2,3,4,5]
i=0
eee=0
for n in list1:
    if n-ln1[i]<0:
        eee=i
    i+=1
#print(eee)
if eee<4 and eee>0:
    print(int((list1[eee-1]+list1[eee+1])/2))
elif eee==4:
    print(list1[eee-1]+list1[eee-1]-list1[eee-2])
elif eee==0:
    print(list1[eee+1]-list1[eee+2]+list1[eee+1])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == '__main__':
    # T = int(input())
    # for case in range(T):
    print(solve())

Submission status: Accepted

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

print(i)

Submission status: Accepted

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

print(str(isAssein))

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")
elif A2==0:
  print("2")
elif A3==0:
  print("3")
elif A4==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:
A,B,C,D,E = input().split()

def my_index(l, x, default=False):
    if x in l:
        return l.index(x)+1
    else:
        return default

L=[A,B,C,D,E]
print(my_index(L, "0"))

Submission status: Accepted

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

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

Submission status: Accepted

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

print(N.index(0)+1)

Submission status: Accepted

Solution code:
def check(numbers):
    for i in range(0,5):
        if(numbers[i]==0):
            return i+1

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

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

i = 1
for v in A:
  if v == 0:
    print(i)
    sys.exit()
  else:
    i += 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:
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 = list(map(str, input().split()))

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

Submission status: Accepted

Solution code:
n=input()
nn=n.replace(' ','')
x = nn.find('0')

print(int(x)+1)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

def main():
  x1, x2, x3, x4, x5 = map(int, input().split()) # スペース区切り入力
  x = [x1, x2, x3, x4, x5]
  for i in range(5):
    if x[i] == 0:
      print(i+1)
      break
    else:
      continue
    
if __name__ == '__main__':
  main()

Submission status: Accepted

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

for i,value in enumerate(A):
    if value == 0:
        print(i+1)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
l=list(map(int,input().split()))
ans=1
for i in l:
    if i is 0:
        print(ans)
        break
    else:
        ans+=1

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num = [int(s) for s in input().split()]
count = 1
for n in num:
    if n == 0:
        print(count)
    count += 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:
import sys
n=list(map(int,input().split()))

for i in range(0,5):
    if n[i]==0:
        print(i+1)
        sys.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)
        break

Submission status: Accepted

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

idx = 1
for wInt in inList:
    if (wInt == 0) :
        print(idx) 
    idx += 1

Submission status: Accepted

Solution code:
import sys
# x,n = map(int,input().split())
x = list(map(int,input().split()))
for ix,val in enumerate(x):
    if val == 0:
        print(ix+1)
        sys.exit()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=input()
n2=n.split()
lst=[ int(i) for i in n2]
if lst.index(0)==4:
  print(lst[3]+1)
else:
  print(lst[lst.index(0)+1]-1)

Submission status: Accepted

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

Submission status: Accepted

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

for i in range(len(x_list)):
    if x_list[i] == 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:
# coding: utf-8
# Your code here!

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

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:
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(str,input().split()))
for i in range(len(a)):
    if a[i] == '0':
        print(i+1)
    else: continue

Submission status: Accepted

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

Submission status: Accepted

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

print(index+1)

Submission status: Accepted

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

Submission status: Accepted

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

n = 0
n = 15-x1-x2-x3-x4-x5

print(n)

Submission status: Accepted

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


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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
X1, X2, X3, X4, X5 = input().split()
a = [X1, X2, X3, X4, X5]
for i in range(len(a)):
    if a[i] == "0":
        print(i+1)
    pass

Submission status: Accepted

Solution code:
#A
x = map(int,input().split())
count = 1
for i in x:
    if i == 0:
        break
    else:
        count = count+1
print(count)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# 整数の入力
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:
number = list(map(int, input().split()))
for i in range(5):
    if number[i]==0:
        print(i+1)

Submission status: Accepted

Solution code:
A=input().split()
A_int = [int(s) for s in A]
#print(A_int)
count=0
for n in A_int:
  if n==0:
    print(count+1)
  count+=1

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
inputs = set(map(int, input().split()))
print(list(set([0, 1, 2, 3, 4, 5])-inputs)[0])

Submission status: Accepted

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

Submission status: Accepted

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

a = sum(ls)

print(15 - a)

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

a = -1
for i, p in enumerate(A):
  if p == 0:
    a = i + 1

print(a)

Submission status: Accepted

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

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)

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)

Submission status: Accepted

Solution code:
import numpy as np
x=map(int,input().split())

ans=15-sum(list(x))

print(ans)

Submission status: Accepted

Solution code:
a,b,c,d,e  = map(int,input().split())
if a!=1:
    print(1)
elif b!=2:
    print(2)
elif c!=3:
    print(3)

elif d!=4:
    print(4)

elif e!=5:
    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)
    exit()

Submission status: Accepted

Solution code:
import numpy as np
# n,k = map(int,input(). split ())
x = list(map(int, input().split()))
print(x.index(0)+1)

Submission status: Accepted

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

Submission status: Accepted

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

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

print(ans_ind)

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10 ** 9)
# input = sys.stdin.readline    ####
def int1(x): return int(x) - 1
def II(): return int(input())
def MI(): return map(int, input().split())
def MI1(): return map(int1, input().split())
def LI(): return list(map(int, input().split()))
def LI1(): return list(map(int1, input().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def MS(): return input().split()
def LS(): return list(input())
def LLS(rows_number): return [LS() for _ in range(rows_number)]
def printlist(lst, k=' '): print(k.join(list(map(str, lst))))
INF = float('inf')
# from math import ceil, floor, log2
# from collections import deque
# from itertools import combinations as comb, combinations_with_replacement as comb_w, accumulate, product, permutations
# from heapq import heapify, heappop, heappush
# import numpy as np
# from numpy import cumsum  # accumulate

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


if __name__ == '__main__':
    solve()

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

x = input().split()

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

Submission status: Accepted

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

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")
else:
  print("5")

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    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=[0]*5
x=list(map(int,input().split()))
print(x.index(0)+1)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

print(sys.stdin.readline().split().index("0") + 1)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
xs = map(int, input().split())
res = 0
for i, x in enumerate(xs):
    if x == 0:
        res = i
        break

print(str(res+1))

Submission status: Accepted

Solution code:
import numpy as np
in_arr = list(map(int,input().split()))
st_arr = np.arange(len(in_arr))+1
for i in range(len(in_arr)):
  if in_arr[i] != st_arr[i]:
    print(i+1)
    break

Submission status: Accepted

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

Submission status: Accepted

Solution code:

a,s,d,f,g=map(int,input().split())
if(a==0):
    print(1)
    exit()
if(s==0):
    print(2)
    exit()
if(d==0):
    print(3)
    exit()
if(f==0):
    print(4)
    exit()
if(g==0):
    print(5)
    exit()

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

print(x.index(0) + 1)

Submission status: Accepted

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

import sys,copy,bisect,itertools,heapq,math
from heapq import heappop,heappush,heapify
from collections import Counter,defaultdict

def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())#整数値　複数の入力
def S_MAP(): return map(str, input().split())#文字　複数の入力
def LIST(): return list(map(int, input().split()))#整数　複数の入力　配列
def S_LIST(): return list(map(str, input().split()))#文字　複数の入力　配列


x=S_LIST()


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