Buggy python submission (verdict: Time Limit Exceeded):
import sys

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

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

main()

Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
import sys

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

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

main()

Fixed submission:
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()

Buggy python submission (verdict: Time Limit Exceeded):
import sys

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

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

main()

Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat=list(map(int, input().split()))
      
re = 0
flag=True
while (flag==True):
        for e in dat:
               e=e/2
         re = re+1
         break
print(re)

Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat=list(map(int, input().split()))
      
re = 0
flag=True
while (flag==True):
        for e in dat:
            if (e%2==1): 
                 flag=False
                 break

         re = re+1

print(re)

Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat=list(map(int, input().split()))
      
re = 0
flag=True
while (flag==True):
       for e in dat:
            if (e%2==1):
                flag=False
                break
            else:
                e = e/2
        re = re+1

print(re)

Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat=list(map(int, input().split()))
      
re = 0
flag=True
while (flag==True):
       for e in dat:
            if e%2==1:
                flag=False
                break
            else:
                e = e/2
        re = re+1

print(re)

Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat=list(map(int, input().split()))
      
re = 0

while (True):
       for e in dat:
            if e%2==1:
                break
            else:
                e = e/2
         re = re+1

print(re)

Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat=list(map(int, input().split()))
      
re = 0

while (True):
       for e in dat:
            if e%2==1:
                break
                return re
            else:
                e = int(e/2)
         re = re+1

print(re)

Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat=list(map(int, input().split()))
      
re = 0

while (True):
       for e in dat:
            if e%2==1:
                break
                return re
            else:
                e = e/2
         re = re+1

print(re)

Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat=list(map(int, input().split()))
      
re = 0

while (True):
       for e in dat:
            if e%2==1:
                return re
            else:
                e = e/2
         re = re+1

print(re)

Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat=list(map(int, input().split()))

for e in dat:
       e = bin(e)[2:]
       e = list(e).reverse()
       e = "".join(e)
re = []

for e in dat:
      
      try:
          w=e.index('1')
          re.append(w)
      except Exception:
          re.append(0)

print(min(re))

Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat=list(map(int, input().split()))

for e in dat:
       e = bin(e)[2:]
       e = list(e).reverse()

re = []

for e in dat:
      try:
          w=e.index('1')
          re.append(w)
      except RintimeError:
          re.append(0)

print(min(re))
         
       

print(1)

Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat=list(map(int, input().split()))

for e in dat:
       e = bin(e)[2:]
       e = list(e).reverse()

re = []

for e in dat:
      try:
          w=e.index('1')
          re.append(w)
      except IndexError:
          re.append(0)

print(min(re))
         
       

print(1)

Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat=list(map(int, input().split()))

for e in dat:
       e = bin(e)[2:]
       e = list(e).reverse()

re=[]

for e in dat:
       re.append(len(e))

print(min(re))

Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat=list(map(int, input().split()))

for e in dat:
       e = bin(e)[2:]
       e = list(e).reverse()

re=[]

for e in dat:
      try:
#          w=e.index('1')
 #         re.append(w)
       except ValueError:
          re.append(0)

print(min(re))

Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat=list(map(int, input().split()))

for e in dat:
       e = bin(e)[2:]
       e = list(e).reverse()

re=[]

for e in dat:
      try:
          w=e.index('1')
          re.append(w)
       except ValueError:
          re.append(0)

print(min(re))

Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat=list(map(int, input().split()))

for e in dat:
       e = bin(e)[2:]
       e = list(e).reverse()

re=[]

for e in dat:
      try:
          w=e.index('1')
          re.append(w)
       except ValueError
          re.append(0)

print(min(re))

Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))

flag=True
count = 0

for e in dat:
     e = e/2
 count = count+1

print(count)
         


 
      
      
             


    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))

flag=True
count = 0

for i in range(n):
     dat[i] = dat[i]/2
 count = count+1

print(count)
         


 
      
      
             


    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))

flag=True
count = 0

while (flag==True):
    for i in range(n):
            if dat[i]%2==1:
                flag=False
                break
           else:
                dat[i] = dat[i]/2
     count = count+1

print(count)
         


 
      
      
             


    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))

flag=True
count = 0

while flag==True:
     for i in range(n):
         if dat[i]%2==1:
             flag=False
              break
          else:
              dat[i] = dat[i]/2
       count = count+1

print(count)
         


 
      
      
             


    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))

flag=True
int count = 0

while flag==True:
     for i in range(n):
         if dat[i]%2==1:
             flag=False
              break
          else:
              dat[i] = dat[i]/2
       count = count+1

print(count)
         


 
      
      
             


    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))

boolean flag=True
int count = 0

while flag==True:
     for i in range(n):
         if dat[i]%2==1:
             flag=False
              break
          else:
              dat[i] = dat[i]/2
       count = count+1

print(count)
         


 
      
      
             


    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))

boolean flag=True
int count = 0

while flag:
     for i in range(n):
         if dat[i]%2==1:
             flag=False
              break
          else:
              dat[i] = dat[i]/2
       count = count+1

print(count)
         


 
      
      
             


    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))

boolean flag=True
int count = 0

while flag:
     for i in range(n):
         if dat[i]%2==1:
             break
             flag=False
          else:
              dat[i] = dat[i]/2
       count = count+1

print(count)
         


 
      
      
             


    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))

boolean flag=True
int count = 0

while flag:
     for int i in range(n):
         if dat[i]%2==1:
             break
             flag=False
          else:
              dat[i] = dat[i]/2
       count = count+1

print(count)
         


 
      
      
             


    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))

 re=1
     
print(re)
     

 
      
      
             


    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = list(str(bin(e)))
    e.reverse()

re = 0
for e in dat:
    re=  e.count('1')
     
     
print(re)
     

 
      
      
             


    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = list(str(bin(e)))
    e.reverse()

re = 0
for e in dat:
     w=len(e)
     
     
print(re)
     

 
      
      
             


    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = list(str(bin(e)))
    e.reverse()

re = 0
for e in dat:
     w=e.index(1)
     
     
print(re)
     

 
      
      
             


    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = list(str(bin(e)))
    e.reverse()

re = 0
for e in dat:
     w=e.index('1')
     
     
print(re)
     

 
      
      
             


    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = list(str(bin(e)))
    e.reverse()

re = 0
for e in dat:
     w=e.index("1")
     re=w
     
print(re)
     

 
      
      
             


    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = list(str(bin(e)))
    e.reverse()

re = 0
for e in dat:
     w=e.index('1')
     re=w
     
print(re)
     

 
      
      
             


    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = list(str(bin(e)))
    e.reverse()

m=0 
 for i in range(n):
       m=len(dat[i])
      
             
print(m)

    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = list(str(bin(e)))
    e.reverse()

min=0
 for e in dat:
       min = min+1
             
print(min)

    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = list(str(bin(e)))
    e.reverse()

min=0
 for e in dat:
       i=0
       while i < len(e):
             #if e[i]=='1':
                # if i > min:
                #     min = i
                #     break
           #  else:
                  i=i+1
print(min)

    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = list(str(bin(e)))
    e.reverse()

min=0
 for e in dat:
       i=0
       while i < len(e):
             if e[i]=='1':
                # if i > min:
                #     min = i
                     break
             else:
                  i=i+1
print(min)

    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = list(str(bin(e)))
    e.reverse()

min=0
 for e in dat:
       i=0
       while i < len(e):
             if e[i]=='1':
                 if i > min:
                     min = i
                     break
             else:
                  i=i+1
print(min)

    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = str(bin(e))
    
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = str(bin(e))
    e=list(e)
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = str(bin(e))
    e=e[2:]
    e1=list(e)
    e1.reverse()
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = str(bin(e))
    e=e[2:]
    e=list(e)
    e.reverse()
    
     
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = str(bin(e))
    e=e[2:]
     e=e[::-1]
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = str(bin(e))
    e=e[2:]
     e=e[::-1]
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = str(bin(e))
    e=e[2:]
       
for e in dat:
     i = len(e)
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = str(bin(e))
    e=e[2:]
       
for e in dat:
      dan.append(len(e))
                

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = str(bin(e))
    e=e[2:]
       
for e in dat:
      j = -1
     while j > -len(e):
                j = j -1

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = str(bin(e))
    e=e[2:]
       
for e in dat:
      j = -1
     while j > -len(e):
           if e[j]=='1':
                break
            else:
                j = j -1

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = str(bin(e))
    e=e[2:]
       
for e in dat:
      j = -1
     while j > -len(e):
           if e[j]=='1':
                dan.append(-j-1)
                break
            else:
                j = j -1

         
           




Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = str(bin(e))
    e=e[2:]
       
#for i in range(n):
#      j = -1
#     while j > -len(dat[i]):
#          if dat[i][j]=='1':
 #              dan.append(-j-1)
#               break
#          else:
#               j = j - 1
           
print(min(len(dat))



Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = str(bin(e))
    e=e[2:]
       
for i in range(n):
      j = -1
     while j > -len(dat[i]):
          if dat[i][j]=='1':
               dan.append(-j-1)
               break
          else:
               j = j - 1
           
print(min(dan))



Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))
dan = []
for e in dat:
    e = str(bin(e))
    e=e[2:]
       
for i in range(n):
      j = -1
     while j > -len(dat[i]):
          if dat[i][j]=='1':
               dan.append(-j-1)
               break
          else:
               j = j - 1
           
print(min(das))



Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))

for e in dat:
    e = str(bin(e))

dat2=list(n)
for e in dat:
    print(e)

#print(min(dat)-1)



Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))

for e in dat:
    e = str(bin(e))

for e in dat:
    e = e[1]

#print(min(dat)-1)



Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))

for e in dat:
    e = str(bin(e))

for e in dat:
    e = e[::1]

#print(min(dat)-1)



Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))

for e in dat:
    e = str(bin(e))

for e in dat:
    e = e[::-1]

#print(min(dat)-1)



Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))

for e in dat:
    e = str(bin(e))

for e in dat:
    e = e [::-1]

#print(min(dat)-1)



Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))

for e in dat:
    e = str(bin(e))

for e in dat:
    e = e.rfind('1')

#print(min(dat)-1)



Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))

for e in dat:
    e = str(bin(e))

for e in dat:
    e = e.rfind('1')

print(min(dat)-1)



Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))

for e in dat:
    e = str(byte(e))

for e in dat:
    e = e.rfind('1')

print(min(dat)-1)



Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))

for e in dat:
     e = str(bit(e))

#for e in dat:
#     e = rfind('1')

#print(min(dat)-1)



Fixed submission:
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()

Buggy python submission (verdict: Runtime Error):
n=int(input())
dat = list(map(int, input().split()))

for e in dat:
     e = str(bit(e))

for e in dat:
     e = rfind('1')

print(min(dat)-1)



Fixed submission:
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()