Buggy python submission (verdict: Time Limit Exceeded):
input()
a = map(int, input().split())
count = 0
while all(i%2 == 0 for i in a):
  a = [v//2 for v in a]
  count += 1
print(count)


Fixed submission:
n = int(input())
a = map(int, input().split())
m = float('inf')
for i in a:
  count = 0
  while i%2 == 0:
    i = i//2
    count += 1
  m = min(m, count)
  if m==0:
    break
print(m)

Buggy python submission (verdict: Time Limit Exceeded):
input()
a = map(int, input().split())
count = 0
while all(i%2 == 0 for i in a):
  a = [i//2 for i in a]
  count += 1
print(count)


Fixed submission:
n = int(input())
a = map(int, input().split())
m = float('inf')
for i in a:
  count = 0
  while i%2 == 0:
    i = i//2
    count += 1
  m = min(m, count)
  if m==0:
    break
print(m)

Buggy python submission (verdict: Time Limit Exceeded):
input()
a = map(int, input().split())
count = 0
while all(i%2 == 0 for i in a):
  count += 1
print(count)

Fixed submission:
n = int(input())
a = map(int, input().split())
m = float('inf')
for i in a:
  count = 0
  while i%2 == 0:
    i = i//2
    count += 1
  m = min(m, count)
  if m==0:
    break
print(m)

Buggy python submission (verdict: Time Limit Exceeded):
count = 0
n = int(input())
lst = map(int, input().split())
while all([i%2 == 0 for i in lst]):
  lst = [i // 2 for i in lst]
  count += 1
print(count)

Fixed submission:
n = int(input())
a = map(int, input().split())
m = float('inf')
for i in a:
  count = 0
  while i%2 == 0:
    i = i//2
    count += 1
  m = min(m, count)
  if m==0:
    break
print(m)

Buggy python submission (verdict: Runtime Error):
count = 0
n = int(input())
lst = [int(input()) for i in range(n)]
while all([i%2 == 0 for i in lst]):
  lst = [i // 2 for i in lst]
  count += 1
print(count)

Fixed submission:
n = int(input())
a = map(int, input().split())
m = float('inf')
for i in a:
  count = 0
  while i%2 == 0:
    i = i//2
    count += 1
  m = min(m, count)
  if m==0:
    break
print(m)

Buggy python submission (verdict: Runtime Error):
n = int(input())
lst = [int(input()) for i in range(n)]
count = 0
while all([i%2 == 0 for i in lst]):
  count += 1
  for j in range(n):
    lst[j] //= 2
print(count)

Fixed submission:
n = int(input())
a = map(int, input().split())
m = float('inf')
for i in a:
  count = 0
  while i%2 == 0:
    i = i//2
    count += 1
  m = min(m, count)
  if m==0:
    break
print(m)

Buggy python submission (verdict: Time Limit Exceeded):
input()
A=map(int,input().split())
ans=0
while all([a%2==0 for a in A]):
    A=[a//2 for a in A]
    ans+=1
print(ans)

Fixed submission:
n = int(input())
a = map(int, input().split())
m = float('inf')
for i in a:
  count = 0
  while i%2 == 0:
    i = i//2
    count += 1
  m = min(m, count)
  if m==0:
    break
print(m)

Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
a = map(int, input().split())
count = 0
while all([i%2==0 for i in a]):
  a = [i//2 for i in a]
  count += 1
print(count)

Fixed submission:
n = int(input())
a = map(int, input().split())
m = float('inf')
for i in a:
  count = 0
  while i%2 == 0:
    i = i//2
    count += 1
  m = min(m, count)
  if m==0:
    break
print(m)

Buggy python submission (verdict: Runtime Error):
n = int(input())
a = list(map(int, input().split()))
count = 0
while all[i%2==0 for i in a]:
  a = [i//2 for i in a]
  count += 1
print(count)

Fixed submission:
n = int(input())
a = map(int, input().split())
m = float('inf')
for i in a:
  count = 0
  while i%2 == 0:
    i = i//2
    count += 1
  m = min(m, count)
  if m==0:
    break
print(m)

Buggy python submission (verdict: Runtime Error):
n = int(input())
a = map(int, input().split())
count = 0
while all[i%2==0 for i in a]:
  a = [i//2 for i in a]
  count += 1
print(count)

Fixed submission:
n = int(input())
a = map(int, input().split())
m = float('inf')
for i in a:
  count = 0
  while i%2 == 0:
    i = i//2
    count += 1
  m = min(m, count)
  if m==0:
    break
print(m)

Buggy python submission (verdict: Runtime Error):
n = int(input())
a = [int(input()) for _ in range(n)]
m = float('inf')
for i in a:
  count = 0
  while i%2 == 0:
    i = i//2
    count += 1
  m = min(m, count)
  if m==0:
    break
print(m)

Fixed submission:
n = int(input())
a = map(int, input().split())
m = float('inf')
for i in a:
  count = 0
  while i%2 == 0:
    i = i//2
    count += 1
  m = min(m, count)
  if m==0:
    break
print(m)

Buggy python submission (verdict: Runtime Error):
n = int(input())
a = [int(input()) for _ in range(n)]
eva = float('inf')
for i in a:
  count = 0
  while i%2 == 0:
    i //= 2
    count += 1
  eva = min(count, eva)
print(eva)

Fixed submission:
n = int(input())
a = map(int, input().split())
m = float('inf')
for i in a:
  count = 0
  while i%2 == 0:
    i = i//2
    count += 1
  m = min(m, count)
  if m==0:
    break
print(m)