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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys


def log(s):
    # print("| " + str(s), file=sys.stderr)
    pass


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


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


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


main()

Submission status: Accepted

Solution code:
liste = [int(x) for x in input().split()]
print(int(liste.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 = map(int, input().split())
for i,n in enumerate(x):
    if n == 0:
        print(i+1)
        break

Submission status: Accepted

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

A()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from math import gcd

from math import factorial as f

from math import ceil,floor,sqrt
import math

import bisect
import re
import heapq


from copy import deepcopy
import itertools
from itertools import permutations

from sys import exit

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


yes = "Yes"
no = "No"


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


main()

Submission status: Accepted

Solution code:
import sys


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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

    return variables.index(0) + 1


def main():
    print(solve())


if __name__ == "__main__":
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!usr/bin/env python3
from collections import defaultdict, deque
from heapq import heappush, heappop
from itertools import permutations
import sys
import math
import bisect

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


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


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


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


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


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


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


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


sys.setrecursionlimit(1000000)
mod = 1000000007


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


if __name__ == "__main__":
    solve()

Submission status: Accepted

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

Submission status: Accepted

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

sys.setrecursionlimit(1000000)

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

main()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
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:
a = list(map(int, input().split()))

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

print(ans)

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 range(0, 5):
    if a[i] == 0:
        print(i+1)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
x = 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:
    if i==0:
      print(l[i+1]-1)
      exit()
    print(l[i-1]+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:
list_ = list(map(int, input().split()))

print(list_.index(0) + 1)

Submission status: Accepted

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

a=x.index(0)

print(a+1)

Submission status: Accepted

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

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

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

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

print(k)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

#for i in range(len(x)): #rangeを使わないとiが番号として機能しない
for i, v in enumerate(x): # xの添字と値を順番に入れていく vが配列の値 iが添字
    if v == 0:
        print(i+1)

Submission status: Accepted

Solution code:
#coding:utf-8

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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


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

    print(cnt)



if __name__ == "__main__":
    main()

Submission status: Accepted

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

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

print(X)

Submission status: Accepted

Solution code:
import sys

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


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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(n_list.index(0) + 1)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
a = list(input().split())
print(a.index("0")+1)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
#!/usr/bin/env PyPy3 submit
import sys
from collections import deque
from itertools import *
 
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())
 
x = LS()
 
for i,xx in enumerate(x):
    if xx == '0':
        print(i+1)
        exit()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env pypy3 submit
import sys
from collections import deque
from itertools import *
 
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())
 
x = LS()
 
for i,xx in enumerate(x):
    if xx == '0':
        print(i+1)
        exit()

Submission status: Accepted

Solution code:
#!/usr/bin/env pypy3acc submit
import sys
from collections import deque
from itertools import *
 
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())
 
x = LS()
 
for i,xx in enumerate(x):
    if xx == '0':
        print(i+1)
        exit()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


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

Submission status: Accepted

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

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:
def run(x):
    '''
    '''
    for i,v in enumerate(x):
        if v == 0:
            print(i+1)


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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
"""
    Satwik_Tiwari ;) .
    16 june , 2020  - Tuesday
"""

#===============================================================================================
#importing some useful libraries.
from __future__ import division, print_function

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


import bisect
from heapq import *
from math import *
from collections import deque
from collections import Counter as counter  # Counter(list)  return a dict with {key: count}
from itertools import combinations as comb # if a = [1,2,3] then print(list(comb(a,2))) -----> [(1, 2), (1, 3), (2, 3)]
from itertools import permutations as permutate
from bisect import bisect_left as bl
#If the element is already present in the list,
# the left most position where element has to be inserted is returned.
from bisect import bisect_right as br
from bisect import bisect
#If the element is already present in the list,
# the right most position where element has to be inserted is returned

#==============================================================================================

BUFSIZE = 8192


class FastIO(IOBase):
    newlines = 0

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

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

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

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


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


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


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

# inp = lambda: sys.stdin.readline().rstrip("\r\n")

#===============================================================================================
#some shortcuts

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

#===============================================================================================
# code here ;))

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



testcase(1)
# testcase(int(inp()))

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#import math
#=input()
#=int(input())
#=map(int,input().split())
a=list(map(int,input().split()))
#=[list(map(int,input().split())) for _ in range()]

print(a.index(0)+1)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Spyderエディタ

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

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

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

Submission status: Accepted

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

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

print(a.index(0) + 1)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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