N = int(eval(input()))

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

c = 0

for i in range(N):

    j = 2

    while True:

        if a[i] % j != 0:

            break

        j *= 2

        c += 1

print(c)

import math



N = int(eval(input()))

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

ans = 0



for i in a:

    while True:

        if i % 2 == 0:

            ans += 1

            i //= 2

        else:

            break

print(ans)

N = int(eval(input()))
a = list(map(int, input().split()))
c = 0
for i in range(N):
    j = 2
    while True:
        if a[i] % j != 0:
            break
        j *= 2
        c += 1
print(c)

import math

N = int(eval(input()))
a = list(map(int, input().split()))
ans = 0
for i in a:
    while True:
        if i % 2 == 0:
            ans += 1
            i //= 2
        else:
            break
print(ans)

+import math + -c = 0 -for i in range(N): -    j = 2 +ans = 0 +for i in a: -        if a[i] % j != 0: +        if i % 2 == 0: +            ans += 1 +            i //= 2 +        else: -        j *= 2 -        c += 1 -print(c) +print(ans)