n = int(eval(input()))

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

ans = 0

for i in range(n):

    for j in range(30):

        if a[i]%2 == 0:

            a[i] /= 2

            ans += 1

        else:

            break

print(ans)

import sys

read = sys.stdin.buffer.read

readline = sys.stdin.buffer.readline

readlines = sys.stdin.buffer.readlines

sys.setrecursionlimit(10 ** 7)



n = int(readline())

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

cnt = 0

for aa in a:

    for i in range(aa):

        if aa % 2 == 0:

            cnt += 1

            aa //= 2

        else:

            break

print(cnt)

n = int(eval(input()))
a = list(map(int, input().split()))
ans = 0
for i in range(n):
    for j in range(30):
        if a[i] % 2 == 0:
            a[i] /= 2
            ans += 1
        else:
            break
print(ans)

import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10**7)
n = int(readline())
a = list(map(int, readline().split()))
cnt = 0
for aa in a:
    for i in range(aa):
        if aa % 2 == 0:
            cnt += 1
            aa //= 2
        else:
            break
print(cnt)

-n = int(eval(input())) -a = list(map(int, input().split())) -ans = 0 -for i in range(n): -    for j in range(30): -        if a[i] % 2 == 0: -            a[i] /= 2 -            ans += 1 +import sys + +read = sys.stdin.buffer.read +readline = sys.stdin.buffer.readline +readlines = sys.stdin.buffer.readlines +sys.setrecursionlimit(10**7) +n = int(readline()) +a = list(map(int, readline().split())) +cnt = 0 +for aa in a: +    for i in range(aa): +        if aa % 2 == 0: +            cnt += 1 +            aa //= 2 -print(ans) +print(cnt)