num = int(eval(input()))

if num <= 200:



    num_list = [int(x) for x in input().split()]



    even_flg = True

    count = 0

    while even_flg:

        for i, n in enumerate(num_list):

            if n % 2 == 0:

                count += 1

                num_list[i] = n / 2

            else:

              	even_flg = False

    count = count / len(num_list)

    print((int(count)))
N = int(eval(input()))

A_list = [int(num) for num in input().split()]



count = 0

is_even = True

while is_even:

  for i, num in enumerate(A_list):

    if num % 2:

      is_even = False

      break

    else:

      num = num // 2

      A_list[i] = num

  else:

    count +=1

print(count)
num = int(eval(input()))
if num <= 200:
    num_list = [int(x) for x in input().split()]
    even_flg = True
    count = 0
    while even_flg:
        for i, n in enumerate(num_list):
            if n % 2 == 0:
                count += 1
                num_list[i] = n / 2
            else:
                even_flg = False
    count = count / len(num_list)
    print((int(count)))

N = int(eval(input()))
A_list = [int(num) for num in input().split()]
count = 0
is_even = True
while is_even:
    for i, num in enumerate(A_list):
        if num % 2:
            is_even = False
            break
        else:
            num = num // 2
            A_list[i] = num
    else:
        count += 1
print(count)

-num = int(eval(input())) -if num <= 200: -    num_list = [int(x) for x in input().split()] -    even_flg = True -    count = 0 -    while even_flg: -        for i, n in enumerate(num_list): -            if n % 2 == 0: -                count += 1 -                num_list[i] = n / 2 -            else: -                even_flg = False -    count = count / len(num_list) -    print((int(count))) +N = int(eval(input())) +A_list = [int(num) for num in input().split()] +count = 0 +is_even = True +while is_even: +    for i, num in enumerate(A_list): +        if num % 2: +            is_even = False +            break +        else: +            num = num // 2 +            A_list[i] = num +    else: +        count += 1 +print(count)