Buggy python submission (verdict: Runtime Error):
N = int(input())
A = map(int, input().split())

count = -1
flag = True

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

        else:
            flag = False
            break



print(count)


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

count = -1
flag = True

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

        else:
            flag = False
            break



print(count)

Buggy python submission (verdict: Runtime Error):
N = int(input())
A = map(int, input().split())

count = 0
flag = True

while flag == True:
    for i in range(N):
        if A[i]%2 == 0:
            A[i] /= 2

        else:
            flag = False
            break

        count += 1

print(count)


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

count = -1
flag = True

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

        else:
            flag = False
            break



print(count)

Buggy python submission (verdict: Runtime Error):
N = int(input())
A = map(int, input().split())

count = 0
flag = True

while flag == True:
    for i in range(N):
        if A[i]%2 == 0:
            A[i] /= 2

        else:
            flag = False
            break

        count += 1


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

count = -1
flag = True

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

        else:
            flag = False
            break



print(count)

Buggy python submission (verdict: Time Limit Exceeded):
N = int(input())
A = map(int, input().split())

odd = False
count = 0

while True:
    for i in A:
        if i%2 != 0:
            odd = True
        else:
            i = int(i/2)
    if odd:
        break

    # for i in A:
    #     i = int(i/2)

    count += 1

print(count)


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

count = -1
flag = True

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

        else:
            flag = False
            break



print(count)

Buggy python submission (verdict: Time Limit Exceeded):
N = int(input())
A = map(int, input().split())

odd = False
count = 0

while True:
    for i in A:
        if i%2 != 0:
            odd = True

    if odd:
        break

    for i in A:
        i = int(i/2)

    count += 1

print(count)


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

count = -1
flag = True

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

        else:
            flag = False
            break



print(count)

Buggy python submission (verdict: Time Limit Exceeded):
N = int(input())
A = [int(i) for i in input().split()]

odd = False
count = 0

while True:
    for i in A:
        if i%2 != 0:
            odd = True

    if odd:
        break

    for i in A:
        i = int(i/2)

    count += 1

print(count)


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

count = -1
flag = True

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

        else:
            flag = False
            break



print(count)