Problem:


Score : 100 points

Problem Statement

Snuke has a grid consisting of three squares numbered 1, 2 and 3.
In each square, either 0 or 1 is written. The number written in Square i is s_i.

Snuke will place a marble on each square that says 1.
Find the number of squares on which Snuke will place a marble.

Constraints

Each of s_1, s_2 and s_3 is either 1 or 0.

Input

Input is given from Standard Input in the following format:

s_{1}s_{2}s_{3}

Output

Print the answer.

Sample Input 1

101

Sample Output 1

2

A marble will be placed on Square 1 and 3.

Sample Input 2

000

Sample Output 2

0

No marble will be placed on any square.



Sample input:
101


Sample output:
2

Submission status: Runtime Error

Solution code:
n=int(input())
print(n.count(1))

Submission status: Runtime Error

Solution code:
str(s)=input()
count = 0
for v in range(1,4):
    if 1 in s[v]:
        count +=1
print(count)

Submission status: Runtime Error

Solution code:
# ３桁の整数の入力
s = input('')
i = 0
# 1から3桁目までの繰り返し
	for j in range(3):
# 1桁目のチェック
		if s[j] == '1':
			i += 1
		else:
			i += 0
print(i)

Submission status: Runtime Error

Solution code:
# ３桁の整数の入力
s = input('')
i = 0
# 1から3桁目までの繰り返し
for j in range(3):
  # 1桁目のチェック
  if s[j] == '1':
    i += 1
    else:
      i += 0
print(i)

Submission status: Runtime Error

Solution code:
s1,s2,s3 = map(int, input().split())

x = s1 + s2 +s3

print(x)

Submission status: Runtime Error

Solution code:
N = int(input())
A = list(map(int,input().split()))
count = 0
K = True

while K:
    for i in range(N):
        if A[i] % 2 ==1:
            K = False
        A[i] / 2

    if not K:
            break
    count += 1

print(count)

Submission status: Runtime Error

Solution code:
s = input()
cout = 0
for a in s:
  if a == "1"
  	cout += 1
print(cout)

Submission status: Runtime Error

Solution code:
marbles = input()
num = marbles.count(1)
print(num)

Submission status: Runtime Error

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

count = 1
even = True

while even:
    for i, a in enumerate(number_list):
        if a % 2 != 0:
            even = False
        else:
            number_list[i] = a / 2
    if even:
        count += 1
print(count)

Submission status: Runtime Error

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

count = 0
even = True

while even:
    for i, a in enumerate(number_list):
        if a % 2 != 0:
            even = False
        else:
            number_list[i] = a / 2
    if even:
        count += 1
print(count)

Submission status: Runtime Error

Solution code:
a = map(int, input().split())
print(a.count(1))

Submission status: Runtime Error

Solution code:
s=list(input())
print(sum(int(s)))

Submission status: Runtime Error

Solution code:
s=list(input())
print(sum(s))

Submission status: Runtime Error

Solution code:
print(intput().count("1"))

Submission status: Runtime Error

Solution code:
n=int(input())
a=list(map(int,input().split()))
ans=0
while 1:
    for i in range(n):
        if a[i]%2:
            print(ans)
            exit()
        a[i]//=2
    ans+=1

Submission status: Runtime Error

Solution code:
a = input()
count = 0

count += 1 if a[0] == 1
count += 1 if a[1] == 1
count += 2 if a[2] ==1
print(count)

Submission status: Runtime Error

Solution code:
n, k = map(int, input().split())
A = list(map(int, input().split()))
B = []
for i in set(A):
    B.append(A.count(i))
print(sum(sorted(B)[:len(set(A)) - k]))

Submission status: Runtime Error

Solution code:
n, k = map(int, input().split())
A = list(map(int, input().split()))
C = set(A);

B = []
for i in C:
    B.append(C.count(i))
print(sum(sorted(B)[:len(C) - k]))

Submission status: Runtime Error

Solution code:
n, k = map(int, input().split())
A = set(list(map(int, input().split())))
B = []
for i in A:
    B.append(A.count(i))
print(sum(sorted(B)[:len(A) - k]))

Submission status: Runtime Error

Solution code:
s=list(input())
from collections import Counter
s_count=s.Counter()
print(s_count['1'])

Submission status: Runtime Error

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

while all(i%2==0 for i in n_list):
    n_list=[i/2 for i in n_list]
    counter+=1
print(counter)

Submission status: Runtime Error

Solution code:
s = int(input())
if s == 0:
  print(0)
elif s == 1, 10, 100:
  print(1)
elif s == 11, 101, 110:
  print(2)
else:
  print(3)

Submission status: Runtime Error

Solution code:
n = input()
a = list(map(int, input().split()))
cnt = 0
while all(i%2==0 for i in a):
    a = [i/2 for i in a]
    cnt += 1
print(cnt)

Submission status: Runtime Error

Solution code:
a, b, c = int(input[0]), int(input[1]), int(input[2])
print(a+b+c)

Submission status: Runtime Error

Solution code:
a,b,c = map(int, input().split())
print(a+b+c)

Submission status: Runtime Error

Solution code:
print(input().count('1')

Submission status: Runtime Error

Solution code:
print(input().count("1")

Submission status: Runtime Error

Solution code:
a, b, c = input()
count = 1
if a == "1":
  count = count +1
else:
  count = count
  if b == "1":
  count = count +1
else:
  count = count
  if c == "1":
  count = count +1
else:
  count = count

print(count)

Submission status: Runtime Error

Solution code:
in = str(input())
s0 = int(in[0])
s1 = int(in[1])
s2 = int(in[2])

print(s0+s1+s2)

Submission status: Runtime Error

Solution code:
n = "".join(map(int,input().split()))
print(sum(n))

Submission status: Runtime Error

Solution code:
S = input()
print(S.count("1")

Submission status: Runtime Error

Solution code:
n = input()
li = list(map(int,input().split()))
count = 0
while all(a % 2 == 0 for a in li):
  count += 1
  li = [b / 2 for b in li]
print(count)

Submission status: Runtime Error

Solution code:
s1, s2, s3 = map(int,input().split())
list = [s1,s2,s3]
a = list.count(1)
print(a)

Submission status: Runtime Error

Solution code:
s1, s2, s3 = map(int,input().split())
list = [s1,s2,s3]
a = list.count(1)
print(a)

Submission status: Runtime Error

Solution code:
s1 s2 s3 = map(int,input().split())
list = [s1,s2,s3]
print(list.count[1])

Submission status: Runtime Error

Solution code:
a, b, c = map(int, input().split())
element = [a, b, c]
marble = 0
for x in element:
	if x == 1:
		marble +=1
element = [a, b, c]
marble = 0
for x in element:
	if x == 1:
		marble +=1

Submission status: Runtime Error

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

for i in raw:
    cnt = 0
    while i % 2 == 0:
        i //= 2
        cnt += 1
print(cnt)

Submission status: Runtime Error

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

cnt = 0

for i in raw:
    cnt = 0
    while i % 2 == 0:
        i //= 2
        cnt += 1
print(cnt)

Submission status: Runtime Error

Solution code:
n = int(input())
a = list(map(int, input().split()))
 
count = 0
while True:
    for i in range(n):
        if a[i] % 2 == 0:
            a[i] /= 2
        else:
            print(count)
            exit()
    count += 1
print(count)

Submission status: Runtime Error

Solution code:
N = int(input()) #1行目を取得する
a = list(map(int,input().split()))
 
num = 0
exist_odd = True
while exist_odd:
  num += 1
  for i in range(N):      
    if a[i] % 2 == 0:
      a[i] /= 2
    else:
      exist_odd = False
else:
  print(num - 1)

Submission status: Runtime Error

Solution code:
N = int(input()) #1行目を取得する
a = list(map(int,input().split()))
 
num = 0
exist_odd = True
while exist_odd:
  num += 1
  for i in range(N):
    if a[i] % 2 == 0:
      a[i] = a[i] / 2
    else:
      exist_odd = False
else:
  print(num - 1)

Submission status: Runtime Error

Solution code:
N = int(input()) #1行目を取得する
a = list(map(int,input().split()))
 
num = 0
exist_odd = True
while exist_odd:
  num += 1
  for i in range(N):
    if a[i] % 2 == 0:
      a[i] = a[i] / 2
    else:
      exist_odd = False

print(num - 1)

Submission status: Runtime Error

Solution code:
a, b, c = map(int, input().split())
s = [a, b, c]
#print(s)


counter = s.count(1)
print(counter)

Submission status: Runtime Error

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

list = [map(int, input().split())]
print(sum(list))

Submission status: Runtime Error

Solution code:
import sys
n = int(input())
lst = list(map(int, input().split()))
res = 0
for p in range(200):
  for i in range(n):
    if lst[i] % 2 == 1:
      print(res)
      sys.exit()
  lst = [int(j / 2) for j in lst]
  res += 1

Submission status: Runtime Error

Solution code:
import sys
n = int(input())
lst = list(map(int, input().split()))
res = 0
while True:
  for i in range(n):
    if lst[i] % 2 == 1:
      print(res)
      sys.exit()
  lst = [int(j / 2) for j in lst]
  res += 1

Submission status: Runtime Error

Solution code:
n = int(input())
lst = map(str, input().split())
res = 0
def f(l):
  while True:
    for i in l:
      if int(i[-1]) % 2 == 1:
        return res
    l = [str(int(j) / 2) for j in l]
    res += 1
f(lst)

Submission status: Runtime Error

Solution code:
a, b, c = map(int, input().split())
print(a+b+c)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

k = 0

for int(i) in a:
  if(i == 1):
    k += 1
    
print(k)

Submission status: Runtime Error

Solution code:
a = map(str, input().split())
b=0
if a[0]="1":
  b+=1
else if a[1]="1":
  b+=1
else if a[2]="1":
  b+=1
print(b)

Submission status: Runtime Error

Solution code:
a,b,c = map(int,input().split())
counter = 0
if a ==1:
    counter += 1
if b ==1:
    counter += 1
if c ==1:
    counter += 1

print(counter)

Submission status: Runtime Error

Solution code:
import numpy as np
 
s_list = [int(i) for i in list(input())]
ans = np.count_nonzero(s_list>0)
 
print(ans)

Submission status: Runtime Error

Solution code:
lst = [int(i) for i in input().rstrip().split('')]
c=0
for l in lst:
  if l == 1:
    c += 1
print(c)

Submission status: Runtime Error

Solution code:
N, K = map(int, input().split())
A = list(map(int, input().split()))
li = []
ans = 0

B = set(A)

cnt = len(B)

for x in B:
    a = A.count(x)
    li.append(a)

li = sorted(li)

if cnt - K > 0:
    for x in range(cnt - K):
        ans += li[x]
    print(ans)

else :
    print(ans)

Submission status: Runtime Error

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

def div(n):
    return int(n / 2)

N = int(input())
A = list(map(int, input().split()))

r = 0
flag = False
while (True):
    for x in A:
        if x % 2 == 1:
            flag = True
            break

    if (flag):
        break

    r += 1
    A = list(map(div, A))    
    
print(r)

Submission status: Runtime Error

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


#all 全ての要素がTrueならTrue
while all(a % 2 == 0 for a in li):
    li = [ a / 2 for a in li]
    count += 1
# a,b = map(int, input().split())
print(count)

Submission status: Runtime Error

Solution code:
#prep
n = int(input())
m = list(map(int, input().split())) #initial values
asmt = [0]*n
cnt = 0

#assessment 
while True:
    a = list(map(lambda x: x*(1/2)**(cnt+1), m))
    for i in range(n):
        asmt[i] = a[i].is_integer() 
        
    if all(asmt) == False:
        break 
    else: cnt = cnt+1

print(cnt)

Submission status: Runtime Error

Solution code:
s=input()
print(s.count(1))

Submission status: Runtime Error

Solution code:
s = list(input())

for i in s:
    sum += int(i)

print(sum)

Submission status: Runtime Error

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

for i in range(2):
    sum += int(s[i])

print(sum)

Submission status: Runtime Error

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

for i in s:
    sum += int(i)

print(sum)

Submission status: Runtime Error

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

for i in s:
    sum += int(s[i])

print(sum)

Submission status: Runtime Error

Solution code:
N = int(input())
As = [int(c) for c in input().split()]
counter = 0
w = 0


while w == 0:
    for i in range(N):
        if As[i] % 2 != 0:
            w = 1
        As[i] = int(As[i] / 2)
    counter += 1

print(counter)

Submission status: Runtime Error

Solution code:
m = input()
print(f"{int(m[0])+int(m[1])+int(m[2])}", end="")

Submission status: Runtime Error

Solution code:
m = input()
print(f"{int(m[0])+int(m[1])+int(m[2])}")

Submission status: Runtime Error

Solution code:
m = input()

#000 = 0
#001 = 1
#011 = 2
#111 = 3
print(f"{int(m[0])+int(m[1])+int(m[2])}")

Submission status: Runtime Error

Solution code:
N = int(input())
An = list(map(int, input().split()))
count = 0
 
while all(an % 2 == 0 for an in An):
    count += 1
    An = [an/2 for an in An]
    
print(count)

Submission status: Runtime Error

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

while all(a % 2 == 0 for a in A):
    count += 1
    An = [an/2 for an in An]
    
print(count)

Submission status: Runtime Error

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

while sum(An) % 2 == 0:
    count += 1
    An = [an/2 for an in An]
    
print(count)

Submission status: Runtime Error

Solution code:
n = int(input())
a = list(map(int,input().split()))
ans = 0
while all( A%2 == 0 for A in a ):
        a = [ i/2 for i in a ]
        ans += 1
print(ans)

Submission status: Runtime Error

Solution code:
n = int(input())
a = [int(i) for i in input().split()]
count = 0
while all(i % 2 == 0 for i in a):
    a = [i/2 for i in a]
    count += 1
print(count)

Submission status: Runtime Error

Solution code:
s = input()
cnt = 0

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

Submission status: Runtime Error

Solution code:
s = list(input().split())
print(s[0] + s[1] + s[2])

Submission status: Runtime Error

Solution code:
print(input()%9)

Submission status: Runtime Error

Solution code:
s1,s2,s3 = map(int, input().split())

count = 0

mapList = [s1,s2,s3]

for map in mapList:
  if map == 1:
    count += 1

print(count)

Submission status: Runtime Error

Solution code:
s1,s2,s3 = map(int, input().split())

count = 0

print(str(s1) + str(s2) +str(s3))

mapList = [s1,s2,s3]

for map in mapList:
  if map == 1:
    count += 1

print(count)

Submission status: Runtime Error

Solution code:
s1,s2,s3 = map(int, input().split())

count = 0

print(s1,s2,s3)

mapList = [s1,s2,s3]

for map in mapList:
  if map == 1:
    count += 1
  pass

print(count)

Submission status: Runtime Error

Solution code:
N = int(input())
A = list(map(int, input().split()))
cnt = 0
while True:
    for i in range(N):
        if A[i]%2==1:
            break
        A[i] = A[i]//2
    else:
        cnt += 1
        continue
    break

Submission status: Runtime Error

Solution code:
a = int(input())
b = list(map(int,input().split()))
ans = 0
x = True
while x:
  for i in range(a):
    if b[i] %2 ==1:
      x=False
      break
    b[i] = b[i] /2
    ans +=1
ans = ans//a
  

print(ans)

Submission status: Runtime Error

Solution code:
a = int(input())
b = list(map(int,input().split()))
ans = 0
while sum(b)%2 ==0:
  ans +=1
  b=[ i/2 for i in b]
print(ans)

Submission status: Runtime Error

Solution code:
a = int(input())
b = list(map(int,input().split()))
b.sort()
ans = 0
n = b[0]
while n % 2 ==0:
	ans +=1
	n = n/2
print(ans)

Submission status: Runtime Error

Solution code:
a=list(input())
print(a.index(1))

Submission status: Runtime Error

Solution code:
a = int(input())
print(a[0])

Submission status: Runtime Error

Solution code:
def how_many(n):
  count = 0
  while n%2==0:
    n /= 2
    count += 1
    return count

N = int(input())
A = map(int, input().split())
print(min(map(how_many, A)))

Submission status: Runtime Error

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

if a+b+c==0:
  print(0)
elif a+b+c==1:
  print(1)
elif a+b+c==2:
  print(2)
elif a+b+c==3:
  print(3)

Submission status: Runtime Error

Solution code:
s=input()
ans=s.count(1)
print(ans)

Submission status: Runtime Error

Solution code:
print(input(),count("1"))

Submission status: Runtime Error

Solution code:
print(input(),count("1"))

Submission status: Runtime Error

Solution code:
import sys

n = input()
l = list(map(int, input().split()))

loop = 1

while (1):
  for i in l:
    if (i % (2 ** (loop + 1)) != 0):
      print(loop )
      sys.exit(0)
  loop = loop + 1

Submission status: Runtime Error

Solution code:
import sys

n = input()
l = list(map(int, input().split()))

loop = 1

while (1):
  for i in l:
    if (i % (2 ** loop) != 0):
      print(loop - 1)
      sys.exit(0)
  loop = loop + 1

Submission status: Runtime Error

Solution code:
s=input()
c=0
range(i, s):
    if i=="1":
        c++

print(c)

Submission status: Runtime Error

Solution code:
S1, S2, S3 = map(int,input().split())
S = S1 + S2 + S3

print(str(S))

Submission status: Runtime Error

Solution code:
S1, S2, S3 = map(int,input().split()) #'1'あるいは'0'
print(str(S1 + S2 +S3))

Submission status: Runtime Error

Solution code:
a = input()

if a[0] == 1:
    b ++
if a[1] == 1:
    b ++
if a[2] == 2:
    b ++
print(b)

Submission status: Runtime Error

Solution code:
N = int(input())
A =  list(map(int, input().split()))
count = 0
flag = 0

while flag == 0:
    for i in range(N):
        if (A[i] % 2 == 0):
            A[i] = A[i] / 2
        else:
            flag = 1
    count += 1

print(count - 1)

Submission status: Runtime Error

Solution code:
print(a=list(input())
b=0
for i in range(3):
	if a[i]=='1':
		b=b+1
print(b)

Submission status: Runtime Error

Solution code:
sss = input()
print(sss.count(1))

Submission status: Runtime Error

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

t = 0
f = False

while True :
    for i in range(n):
        if a[i] % 2 == 0 :
            a[i] //= 2
        else :
            f = True
            break

    if f == True :
        print(t)
        break
    else :
        t += 1

Submission status: Runtime Error

Solution code:
a = int(input())
list = list(map(int, input().split()))
cnt=0
ok = True
while ok:
    for i in list:
        if not i%2==0:
            ok = False
            break

    if ok : cnt += 1
    list = [int(i / 2) for i in list]
print(cnt)

Submission status: Runtime Error

Solution code:
print(sum(int(input())))

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
import numpy as np

count=0
num_of_nums=input()
nums=np.array(input().split())
nums=nums.astype(int)

while np.all(nums%2==0):
    nums=nums/2
    count+=1

print(count)

Submission status: Runtime Error

Solution code:
N = int(input())
a = list(map(int, input().split()))
c = 0
bool = True


while (bool):
    for i in range(N):
        if a[i] % 2 == 0:
            a[i] = a[i] / 2
        else:
            bool = False
            break    
    else:
        c += 1

Submission status: Runtime Error

Solution code:
import sys
N = int(input())
a = list(map(int, input().split()))
c = 0

while True:
    for i in range(N):
        if a[i] % 2 == 0:
            a[i] = a[i] / 2
        else:
            print(c)
            sys.exit()
    c += 1
print(c)

Submission status: Runtime Error

Solution code:
s = string(input())

cnt = 0;

for temp in s:
    if temp == "1":
        cnt += 1
    print(cnt)

Submission status: Runtime Error

Solution code:
ans = 10**9
N = int(input())
A = list(map(int,input().split()))
for i in A:
    p = 0
    while i % 2 == 0:
        i //= 2
        p += 1
    if p < ans:
        ans = p
print(ans)

Submission status: Runtime Error

Solution code:
import sys

def main():
    N = int(input())
    A = [int(_) for _ in input().split()]

    t = 0
    while True:
        for i in range(N):
            if A[i] % 2 == 0:
                A[i] //= 2
            else:
                print(t)
                sys.exit()
        t += 1

main()

Submission status: Runtime Error

Solution code:
n = input()
n = int(n)
list = [0] * n

list = input().split()

for i in range(n):
    list[i] = int(list[i])
bool = True
count = 0
while(bool):
    for i in range(len(list)):
        if(list[i]%2 == 0):
            list[i] /= 2
        else:
            bool = False
    count += 1

print(count-1)

Submission status: Runtime Error

Solution code:
print(input.count("1"))

Submission status: Runtime Error

Solution code:
A = input()
s = 0
for i in range(1,3):
  if A[i]="1":
    s = s + 1
print(s)

Submission status: Runtime Error

Solution code:
A = input()
s = 0
for i in range(0,3):
  if A[i]="1":
    s = s + 1
print(s)

Submission status: Runtime Error

Solution code:
A = input()
s = 0
for i in range(0,2):
  if A[i]="1":
    s = s + 1
print(s)

Submission status: Runtime Error

Solution code:
A = int(input())
s = 0
for i in range(0,2):
  if A[i]==1:
    s = s +1
print(s)

Submission status: Runtime Error

Solution code:
s = input()
print(s.count('1')

Submission status: Runtime Error

Solution code:
s = int(input())
print(s.count('1'))

Submission status: Runtime Error

Solution code:
a,b,c = (int(i) for i in input().split())

if a + b + c == 0:
    print(0)
elif a + b + c == 1:
    print(1)
elif a + b + c == 2:
    print(2)
elif a + b + c == 3:
    print(3)

Submission status: Runtime Error

Solution code:
D = int(input())

print(D.count('0'))

Submission status: Runtime Error

Solution code:
s = input()
 
count = 0
 
for i in s:
  if s[i] == '1':
    count = count + 1
  
print(count)

Submission status: Runtime Error

Solution code:
s = input()
 
count = 0
 
for i in s:
  if i == '1':
    count++
  
print(count)

Submission status: Runtime Error

Solution code:
s = input()
 
count = 0
 
for i in s:
  if s[i] == '1':
    count++
  
print(count)

Submission status: Runtime Error

Solution code:
s = input()

count = 0;

for i in s:
  if s[i] == '1':
    count++
  
print(count)

Submission status: Runtime Error

Solution code:
a[]=input()
count = 0
fot i in range(3)
	if a[i] = 1:
  		count = count + 1
print(count)

Submission status: Runtime Error

Solution code:
s=map(int,input())
count=0
for i in range(3):
	if s[i]==1:
		count+=1
print(count)

Submission status: Runtime Error

Solution code:
N = input()
s = 0
for i in range(0,2):
  if N[i] = 1:
    s = s + 1
print(s)

Submission status: Runtime Error

Solution code:
N = int(input())
s = 0
for i in range(0,2):
if N[i] = 1:
    s = s + 1
print(s)

Submission status: Runtime Error

Solution code:
N = int(input())
s = 0
for i in range(0,2):
  if N[i] = 1:
    s = s + 1
print(s)

Submission status: Runtime Error

Solution code:
N = str(input())
s = 0
for i in range(0,2):
  if N[i] = 1:
    s = s + 1
print(s)

Submission status: Runtime Error

Solution code:
n,k = map(int,input().split())
a = list(map(int,input().split()))
b = set(a)
c = []
for i in b:
  c.append(a.count(i))
c.sort(reverse=True)
#if len(c) == k:
  #print(0)
#else:
print(sum(c[k:]))

Submission status: Runtime Error

Solution code:
n = int(input())
a=list(map(int, input().split()))
count = 0
success = True
while True:
    for i, ele in enumerate(a):
        if ele % 2 == 0:
            a[i] = ele / 2
        else:
            success = False
    if not success:
        break
    count += 1
print(count)

Submission status: Runtime Error

Solution code:
a=[int(x) for x in in input()]
print(sum(a))

Submission status: Runtime Error

Solution code:
print(input().count(1))

Submission status: Runtime Error

Solution code:
print(input(),.count(1))

Submission status: Runtime Error

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

count = 0
flag = True

while(flag):
    tmp_a = []
    for i in a:
        if i % 2 !=0:
            flag = False
            break
        tmp_a.append(i/2)
    a = tmp_a
    if flag == True:
        count += 1

print(count)

Submission status: Runtime Error

Solution code:
a, b, c = map(int, input().split())
print(a + b + c)

Submission status: Runtime Error

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

def how_many_times_divisible(n):
    ans = 0
    while n % 2 == 0:
        n /= 2
        ans += 1
    return ans
 

ans = min(map(how_many_times_divisible, a))
 
print(ans)

Submission status: Runtime Error

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

while all(i%2==0 for i in a):
  a = [i/2 for i in a]
  count += 1

print(count)

Submission status: Runtime Error

Solution code:
s = input()
cnt = 0
for i in s:
  if i == '1':
    cnt += 1:
print(cnt)

Submission status: Runtime Error

Solution code:
num=input()
a=0

if int(num[0])==1:
  a++
  
if int(num[1])==1:
  a++
  
if int(num[2])==1:
  a++
  
print(a)

Submission status: Runtime Error

Solution code:
str=int(input())
a=0
 
if str[0]==1:
  a++
  
if str[1]==1:
  a++
  
if str[2]==1:
  a++
  
print(a)

Submission status: Runtime Error

Solution code:
str=input()
a=0

if str[0]==1:
  a++
  
if str[1]==1:
  a++
  
if str[2]==1:
  a++
  
print(a)

Submission status: Runtime Error

Solution code:
s_1,s_2,s_3=map(int,input().split())
a=0

if s_1==1:
    a++

if s_2==1:
    a++

if s_3==1:
    a++

print(a)

Submission status: Runtime Error

Solution code:
s_1,s_2,s_3=map(int,input().split())

if s_1==1:
    a++

if s_2==1:
    a++

if s_3==1:
    a++

print(a)

Submission status: Runtime Error

Solution code:
str = input()

count = 0
if str[0] == "1":
  count+=1
if str[1] == "1":
  count+=1
if str[2] == "1":
  count+=1

printt(count)

Submission status: Runtime Error

Solution code:
s = int(input())
a = 0
for n in s :
  if n == 1:
    a += 1
    
print(a)

Submission status: Runtime Error

Solution code:
import math
N=int(input())
a = input().split()
a_num= [int(s) for s in a]

count=0
while True:
    for i in range(len(a_num)):
        a_num[i]=math.floor(a_num[i]/2)  
    count +=1
    if a_num[i]%2 != 0:
        break
print(count-1)

Submission status: Runtime Error

Solution code:
print(sum(list(int,input().split())))

Submission status: Runtime Error

Solution code:

s = string(input())

s_tuple = s[0:1],s[1:2],s[2:3]

i = 0

for sb in s_tuple:
  if sb == '1':
    i = i + 1

print(i)

Submission status: Runtime Error

Solution code:

s = string(input())

s_tuple = s[0:1],s[1:2],s[2:3]

i = 0

for sb in s_tuple:
  if sb == '1':
    i == i + 1

print(i)

Submission status: Runtime Error

Solution code:

s = string(input())

s_tuple = s[0:1],s[1:2],s[2:3]

i = 0

for sb in s_tuple
  if sb == '1':
    i == i + 1

print(i)

Submission status: Runtime Error

Solution code:
N=input()
list=list(map(int, input().split()))
m=0
while all(a%2==0 for a in list):
  list=[a/2 for a in list]
  m += 1
print(m)

Submission status: Runtime Error

Solution code:
N = input()
list = list(map(int, input().split()))
count = 0
while all(a % 2 == 0 for a in list):
  list = [a/2 for a in list]
  count += 1
print(count)

Submission status: Runtime Error

Solution code:
n = int(input())
nums = [int(i) for i in input().split()]
ans = 0
while True:
    if [i for i in nums if i % 2 == 1]:
        break
    nums = [i//2 for i in nums]
    ans += 1
print(ans)

Submission status: Runtime Error

Solution code:
n = int(input())
nums = [int(i) for i in input().split()]
ans = 0
while Ture:
  if [i for i in nums if i % 2 == 1]:
    break
  nums = [ i//2 for i in nums]
  ans += 1
print(ans)

Submission status: Runtime Error

Solution code:
N=input()
A=list(map(int,input().split()))
count=0
while all([a%2==0 for a in A]):
    A = [a/2 for a in A]
    count+=1
print(count)

Submission status: Runtime Error

Solution code:
a, b = input().split()
if (int(a)*int(b))%2 == 0:
    print ("Even")
else:
    print ("Odd")

Submission status: Runtime Error

Solution code:
s = input()
c = s.count(1)
print(c)

Submission status: Runtime Error

Solution code:
N = input()

print(N.count(1))

Submission status: Runtime Error

Solution code:
a,b,c = map(int,input().spilt())
n = 0

if a == 1:
    n += 1
else:
    pass
if b == 1:
    n += 1
else:
    pass
if c == 1:
    n += 1
else:
    pass

print(n)

Submission status: Runtime Error

Solution code:
N = int(input())
A = [int(i) for i in input().split()]
en = 0
con = True
while con :
	en += 1
	for i in range(N) :
		if A[i] % 2 == 0 :
			A[i] = int( A[i] / 2 ) 
		else :
			en -= 1
			con = False
			break
print(en)

Submission status: Runtime Error

Solution code:
s = input()
for i in s:
  if int(i) == 1:
    num += 1
print(num)

Submission status: Runtime Error

Solution code:
S=list(map(input().split()))
print(S.count("1"))

Submission status: Runtime Error

Solution code:
a,b,c=map(int,input().split())
S=[a,b,c]
print(S.count(1))

Submission status: Runtime Error

Solution code:
import math
a,b,c=map(int,input().split())
S=[a,b,c]
print(S.count(1))

Submission status: Runtime Error

Solution code:
a,b,c = int(input())
testList = [a,b,c]

def countOne(self,list):
  count =0
  for i in list:
    if i == 0:
      count +=1
  return count

print(countOne(testList))

Submission status: Runtime Error

Solution code:
a,b,c = int(input())
testList = [a,b,c]

def countOne(self,list):
  count =0
  for i in list:
    if i == 0:
      count +=1
  return count

print(countOne(list))

Submission status: Runtime Error

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

def countOne(self,list):
  count =0
  for i in list:
    if i == 0:
      count +=1
  return count

print(countOne(list))

Submission status: Runtime Error

Solution code:
num = line(map(int,input().split()))
count = 0
for i in range(3):
    if num[i] == 1:
        count += 1
print(count)

Submission status: Runtime Error

Solution code:
print(input().count(1)

Submission status: Runtime Error

Solution code:
n,k=map(int,input().split())
a=sorted(list(map(int,input().split())))
def groupby():
    global a
    a2=[[a[0],1]]
    for i in range(1,len(a)):
        if a2[-1][0]==a[i]:
            a2[-1][1]+=1
        else:
            a2.append([a[i],1])
    return a2
b=groupby()
b.sort(key=lambda x:x[1],reverse=True)
l=len(b)
ans=0
for i in range(k,l):
    ans+=b[i][1]
print(ans)

Submission status: Runtime Error

Solution code:
n,k=map(int,input().split())
a=sorted(list(map(int,input().split())))
def groupby(src_list):
  dest_list=[[src_list[0],1]]
  for i in range(1,len(src_list)):
    if dest_list[-1][0]==src_list[i]:
      dest_list[-1][1]+=1
    else:
      dest_list.append([src_list[i],1])
  return dest_list
b=groupby(a)
b.sort(key=lambda x:x[1],reverse=True)
l=len(b)
ans=0
for i in range(k,l):
  ans+=b[i][1]
print(ans)

Submission status: Runtime Error

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

def count_howmany_divide(val):
  result = 0

  while(True):
    if val % 2 != 0:
      break
    else:
      val /= 2
      result += 1

  return result
    

a_i_divided = list(map(count_howmany_divide, a_i))

print(min(a_i_divided))

Submission status: Runtime Error

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

counter = 0

break_flag = False

while(True):
  for a_i_item in a_i:
    if a_i_item % 2 != 0:
      break_flag = True
      break
  
  a_i = list(map(lambda val: val / 2, a_i))

  if break_flag == True:
    break

  counter += 1

print(counter)

Submission status: Runtime Error

Solution code:
n: int = input()
number: int = []
count: int = 0
flag: bool = False

number = list(map(int, input().split()))
while flag != True:
    tmp: int = []
    for n in number:
        if n % 2 == 0:
            tmp.append(n / 2)

        else:
            flag = True
            break

    if flag:
        print(count)
        break

    number = tmp
    count += 1

Submission status: Runtime Error

Solution code:
n: int = input()
number: int = [input()]
count: int = 0
flag: bool = False

while flag != True:
    tmp: int = []
    for n in number:
        if n % 2 == 0:
            tmp.append(n / 2)

        else:
            flag = True
            break

    if flag:
        print(count)
        break

    number = tmp
    count += 1