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:
#!python3

LI = lambda: list(map(int, input().split()))

# input
X = LI()


def main():
    ans = X.index(0) + 1
    print(ans)


if __name__ == "__main__":
    main()

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import os

args = list(map(int,input().split()))
for n, i in zip(args, range(len(args))):
  if n == 0:
    print(i+1)
    break

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# coding: utf-8

N = input().rstrip().split(' ')

if '0' in N:
  print(N.index('0') + 1)

Submission status: Accepted

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

for n, i in enumerate(line, 1):
	if n != i:
		print(n)
		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:
a = list(map(int,input().split()))

for i, name in enumerate(a):
  if name == 0:
    ans = i + 1
    break

print(ans)

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()))
b = 0
for i in range(4):
  if a[i]==0:
    print(a[i+1]-1)
    b =1
if b==0:
  print(a[3]+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:
import numpy as np

n = np.array(list(map(int, input().split())))

print(np.argmin(n)+1)

Submission status: Accepted

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

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

print(cnt)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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
sys.setrecursionlimit(10000000)

s=input()
s=s.replace(' ','')
print(s.find('0') +1)

Submission status: Accepted

Solution code:
a = list(map(int,input().split()))
#print(a)
print(a.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:
l=list(map(int,input().split()))
ans=l.index(0)

print(ans+1)

Submission status: Accepted

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

n = [a,b,c,d,e]

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

Submission status: Accepted

Solution code:
x,y,z,a,b=map(int,input().split())
if x==0:
    print("1")
elif y==0:
    print("2")
elif z==0:
    print("3")
elif a==0:
    print("4")
elif b==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:
n = list(map(int, input().split()))

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

L = []
L.append(a)
L.append(b)
L.append(c)
L.append(d)
L.append(e)

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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()))
cnt = 1

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

Submission status: Accepted

Solution code:
import sys

def I(): return int(sys.stdin.readline().rstrip())
def LI():return list(map(int,sys.stdin.readline().rstrip().split()))
def LS():return list(sys.stdin.readline().rstrip().split())

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


if __name__ == '__main__':
	main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c, d, e = map(int, input().split())
x = [a, b, c, d, e]
for i in range(5) :
    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)

Submission status: Accepted

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

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:
x = input().split(" ")
i = 0

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

l = input().rstrip().split(" ")
#print(l)
for i in range(len(l)):
    if l[i] == "0":
        print(i+1)

Submission status: Accepted

Solution code:
from typing import List


def five_variables(xs: List[int]) -> int:
    i = 0
    for i, x in enumerate(xs):
        if x == 0:
            return i + 1
    raise Exception("Unexpected")


if __name__ == "__main__":
    xs = map(int, input().split())
    ans = five_variables(xs)
    print(ans)

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:
from math import *
from copy import *
from string import *				# alpha = ascii_lowercase
from random import *
from sys import stdin,stdout
from sys import maxsize
from operator import *				# d = sorted(d.items(), key=itemgetter(1))
from itertools import *
from collections import Counter		# d = dict(Counter(l))
import math
import math
import time
from queue import Queue
# PradeepGhosh_2017076

def seive(n):
	l=[True]
	l=l*(n+1)
	for i in range(2,int(sqrt(n))+1):
		if(l[i]==True):
			val=i*i
			while(val<len(l)):
				l[val]=False
				val+=i
	prime=[]
	for i in range(2,len(l)):
		if(l[i]==True):
			prime.append(i)
	return prime

def dp(l,i,n,val,ans):
	if(i>=n or val<0):
		return 1000000
	elif(val==0):
		return 0
	else:
		if(ans[i]==1000000):
			ans[i]=min(min(1+dp(l,i+1,n,val-l[i],ans),1+dp(l,i,n,val-l[i],ans)),dp(l,i+1,n,val,ans))
		return ans[i]
from queue import Queue
def factors(n):
	l=[]
	for i in range(1,int(sqrt(n))+1):
		if(n%i==0):
			if(n//i==i):
				l.append(i)
			else:
				l.append(i)
				l.append(n//i)
	return l
if __name__ == '__main__':
	l=list(map(int,input().split(" ")))
	print(l.index(0)+1)

Submission status: Accepted

Solution code:
'''
Author : Shubhanshu Jain;
'''

import math
import random;
from collections import defaultdict 
mod =1000000007
r1 = lambda : int(input());
rm = lambda : map(int,input().split());
rms = lambda : map(str,input().split());
rls = lambda : list(rm())

def solve():
    ls = rls();
    print(ls.index(0)+1)
        
        





def def_value(): 
	return "nan"
	
solve();

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def II(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def SI(): return sys.stdin.readline()[:-1]

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

main()

Submission status: Accepted

Solution code:
A=[int(x) for x in input().strip().split(" ")]
for i in range(5):

    if i+1!=A[i]:
        print(i+1)

Submission status: Accepted

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

# 1つの文字列
n_list = list(map(int,input().split()))

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

Submission status: Accepted

Solution code:
# X,Y = list(map(int, input().split()))
# for i in range(1,X+1):
# 	a = Y/(2*i)
# 	b = (Y - 2*a)/(4)
# 	# print(a,b)
# 	if(a == int(a) and b == int(b) and a+b == X):
# 		print('Yes')
# 		exit(0)
# print('No')

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()  # ignore trailing spaces

x = na()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
l =list(map(int,input().split()))
n=l.index(0)
print(n+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:
x = list(map(int, input().split()))
# print(x)

answer = x.index(0) + 1

print(answer)

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
a = [int(s) for s in input().split()]
print(a.index(0)+1)

Submission status: Accepted

Solution code:
def main():
  x = tuple(map(int, input().split()))
  
  for i, xi in enumerate(x):
    if xi == 0:
      print(i+1)
      return
    
main()

Submission status: Accepted

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

if __name__ == '__main__':
    solve()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
import time
#from collections import deque, Counter, defaultdict
#from fractions import gcd
#import bisect
#import heapq
import math
start=time.time()
input = sys.stdin.readline
sys.setrecursionlimit(10**8)
inf = 10**18
MOD = 1000000007
ri = lambda : int(input())
rs = lambda : input().strip()
rl = lambda : list(map(int, input().split()))
a = rl()
for i in range(5):
    if a[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")
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:
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:
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(input().split())

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

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

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python
#pyrival orz
import os
import sys
from io import BytesIO, IOBase

"""
    for _ in range(int(input())):
    n,m=map(int,input().split())
    n=int(input())
    a = [int(x) for x in input().split()]
"""

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

# region fastio

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


sys.stdin, sys.stdout = IOWrapper(sys.stdin), IOWrapper(sys.stdout)
input = lambda: sys.stdin.readline().rstrip("\r\n")

# endregion

if __name__ == "__main__":
    main()

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

_sum = sum(data)

print( 15-_sum )

Submission status: Accepted

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

Submission status: Accepted

Solution code:
inp = list()
inp = input().split()
idx = 1
for i in inp:
    if int(i) == 0:
        print(idx)
    idx += 1

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = input().replace(" ", "")
ans = X.index("0")
print(ans + 1)

Submission status: Accepted

Solution code:
temp = input().split(" ")

temp = [int(i) for i in temp]

for index, value in enumerate(temp):
    if value == 0:
        print(index + 1)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

print(A.index(0)+1)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = list(input().split())
count = 0

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

print(count)

Submission status: Accepted

Solution code:
x = list(map(int, input().split()))
x = [0] + x

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

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

Submission status: Accepted

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

sum = sum(a)

print(15-sum)

Submission status: Accepted

Solution code:
#A
x1, x2, x3, x4, x5 = map(int, input().split())
x_list = [x1, x2, x3, x4, x5]
ans = [i for i, j in enumerate(x_list) if j == 0]

print(ans[0]+1)

Submission status: Accepted

Solution code:
#ABC170a

A = []
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 = [int(i) for i in input().split()]

for n, i in enumerate(x_list):
    if n + 1 != i:
        print(n + 1)
        exit()

Submission status: Accepted

Solution code:
lst = [int(x) for x in input().split()]
for x in range(len(lst)):
    if lst[x] == 0:
        if x - 1 < 0:
            print(lst[x + 1] - 1)
        else:
            print(lst[x - 1] + 1)
        break

Submission status: Accepted

Solution code:
X = [int(x) for x in 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()))
for i in range(len(x)):
  if x[i]==0:
    print(i+1)

Submission status: Accepted

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

Submission status: Accepted

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

print(15-sum(x_list))

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:

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

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

Submission status: Accepted

Solution code:

if __name__ == "__main__":
    x = input().split()
    ret = x.index('0') + 1
    print(ret)

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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)

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:
#-*- using:utf-8 -*-

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

Submission status: Accepted

Solution code:
x1, x2, x3, x4, x5 = map(int, input().split())
a = [x1, x2, x3, x4, x5]
i = a.index(0)
print(i+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)

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:
#import numpy as np
#import math
#from fractions import gcd

def main():

    ##get int
    first_input = list(map(lambda x:int(x), input().split(" ")))
    #second_input = list(map(lambda x:int(x), input().split(" ")))

    ##get float
    #first_input = list(map(lambda x:float(x), input().split(" ")))
    #second_input = list(map(lambda x:float(x), input().split(" ")))

    ##get string
    #first_input = input().split(" ")
    #second_input = input().split(" ")

    print(first_input.index(0)+1)

if __name__ == '__main__':
    main()

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:
# -*- coding: utf-8 -*-
x1, x2, x3, x4, x5 = map(int, input().split())

num_list = [x1, x2, x3, x4, x5]

for i in range(len(num_list)):
    if num_list[i] != i+1:
        print(i+1)

Submission status: Accepted

Solution code:
a,b,c,d,e = map(int, input().split())
if a ==0:
    print(1)
    exit()
elif b ==0:
    print(2)
    exit()
elif c ==0:
    print(3)
    exit()
elif d ==0:
    print(4)
    exit()
else:
    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 math
def ip():return int(input())
def imp():return map(int,input().split())
def impstr():return map(str,input().split())
def limp():return list(map(int,input().split()))
def limpstr():return list(map(str,input().split()))

l=limp()
for i in range(1,6):
    if l[i-1]==i:
        continue
    else:
        print(i)
        exit()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def test(total):
  if total == 14:
    print('1')
  elif total == 13:
    print('2')
  elif total == 12:
    print('3')
  elif total == 11:
    print('4')
  else:
    print('5')

x1, x2, x3, x4, x5 = input().split()
test(int(x1) + int(x2) + int(x3) + int(x4) + int(x5))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 7)
rl = sys.stdin.readline


def solve():
    x = list(map(int, rl().split()))
    
    for i in range(5):
        if x[i] == 0:
            print(i + 1)
            return


if __name__ == '__main__':
    solve()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

nums = map(int, read().split())
x = 15 - sum(nums)
print(x)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

for i in range(len(x)):
    if x[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()))
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 x in l:
    if x == 0:
        print(l.index(x)+1)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
x,y,z,w,a=map(int,input().split())
if x==0:
    print(1)
if y==0:
    print(2)
if z==0:
    print(3)
if w==0:
    print(4)
if a==0:
    print(5)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

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