import numpy as np

n=int(eval(input()))

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

b=np.array(a)



c=0



while all(b%2==0):

    b=b/2

    c += 1

    

print(c)
import numpy as np

n=int(eval(input()))

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

b=np.array([i for i in a])



c=0



while all(b%2==0):

    b=b/2

    c += 1

    

print(c)
import numpy as np

n = int(eval(input()))
a = list(map(int, input().split()))
b = np.array(a)
c = 0
while all(b % 2 == 0):
    b = b / 2
    c += 1
print(c)

import numpy as np

n = int(eval(input()))
a = list(map(int, input().split()))
b = np.array([i for i in a])
c = 0
while all(b % 2 == 0):
    b = b / 2
    c += 1
print(c)

-b = np.array(a) +b = np.array([i for i in a])