Buggy python submission (verdict: Time Limit Exceeded):
N = input()
li = list(map(int, input().split()))
 
cnt = 0
while True:
  if 1 in map(lambda x: x % 2, li):
    break
  else:
    cnt += 1
    li = map(lambda x: x // 2, li)
print(cnt)

Fixed submission:
def main():
    N = int(input())
    li = list(map(int, input().split()))

    num_of_operation = 0
    is_dividable = True

    while True:
        for num in li:
            if num % 2 != 0:
                is_dividable = False
                break

        if not is_dividable:
            break

        for i in range(N):
            li[i] //= 2
        num_of_operation += 1

    print(num_of_operation)


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Time Limit Exceeded):
def main():
  N = int(input())
  li = list(map(int, input().split()))

  num_of_operation = 0
  
  while True:
    for num in li:
      if num % 2 == 1:
        break
    
    for i in range(N):
      li[i] /= 2
    num_of_operation += 1
  
  print(num_of_operation)

if __name__ == '__main__':
  main()


Fixed submission:
def main():
    N = int(input())
    li = list(map(int, input().split()))

    num_of_operation = 0
    is_dividable = True

    while True:
        for num in li:
            if num % 2 != 0:
                is_dividable = False
                break

        if not is_dividable:
            break

        for i in range(N):
            li[i] //= 2
        num_of_operation += 1

    print(num_of_operation)


if __name__ == '__main__':
    main()

Buggy python submission (verdict: Runtime Error):
def main():
  N = int(input())
  li = list(map(int, input().split()))

  num_of_operation = 0
  
  while True:
    for num in li:
      if num % 2 == 1:
        break
    
    for i in xrange(N):
      li[i] /= 2
    num_of_operation += 1
  
  print(num_of_operation)

if __name__ == '__main__':
  main()


Fixed submission:
def main():
    N = int(input())
    li = list(map(int, input().split()))

    num_of_operation = 0
    is_dividable = True

    while True:
        for num in li:
            if num % 2 != 0:
                is_dividable = False
                break

        if not is_dividable:
            break

        for i in range(N):
            li[i] //= 2
        num_of_operation += 1

    print(num_of_operation)


if __name__ == '__main__':
    main()

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

cnt = 0
while True:
  if 1 in map(lambda x: x % 2, li):
    break
  else:
    cnt += 1
    li = map(lambda x: x / 2, li)
print(cnt)


Fixed submission:
def main():
    N = int(input())
    li = list(map(int, input().split()))

    num_of_operation = 0
    is_dividable = True

    while True:
        for num in li:
            if num % 2 != 0:
                is_dividable = False
                break

        if not is_dividable:
            break

        for i in range(N):
            li[i] //= 2
        num_of_operation += 1

    print(num_of_operation)


if __name__ == '__main__':
    main()

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

cnt = 0
while True:
  if 1 in map(lambda x: x % 2, li):
    break
  else:
    cnt += 1
    li = map(lambda x: x / 2, li)
print(cnt)


Fixed submission:
def main():
    N = int(input())
    li = list(map(int, input().split()))

    num_of_operation = 0
    is_dividable = True

    while True:
        for num in li:
            if num % 2 != 0:
                is_dividable = False
                break

        if not is_dividable:
            break

        for i in range(N):
            li[i] //= 2
        num_of_operation += 1

    print(num_of_operation)


if __name__ == '__main__':
    main()

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

cnt = 0
while True:
  if 1 in map(lambda x: x % 2, li):
    break
  else:
    cnt += 1
print(cnt)


Fixed submission:
def main():
    N = int(input())
    li = list(map(int, input().split()))

    num_of_operation = 0
    is_dividable = True

    while True:
        for num in li:
            if num % 2 != 0:
                is_dividable = False
                break

        if not is_dividable:
            break

        for i in range(N):
            li[i] //= 2
        num_of_operation += 1

    print(num_of_operation)


if __name__ == '__main__':
    main()

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

cnt = 0
while True:
  if 1 in (li % 2):
    break
  else:
    cnt += 1
print(cnt)


Fixed submission:
def main():
    N = int(input())
    li = list(map(int, input().split()))

    num_of_operation = 0
    is_dividable = True

    while True:
        for num in li:
            if num % 2 != 0:
                is_dividable = False
                break

        if not is_dividable:
            break

        for i in range(N):
            li[i] //= 2
        num_of_operation += 1

    print(num_of_operation)


if __name__ == '__main__':
    main()