# ABC100 C - *3 or /2

N = int(eval(input()))

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

ans = 0

for i in range(N):

    x = 0

    t = 0

    x = A[i]

    while x%2==0:

        x = x//2

        t += 1

    ans += t

print(ans)
def count(x):

    cnt=0

    while x!=0:

        if x%2==0:

            x//=2

            cnt+=1

        else:

            break

    return cnt

n=int(eval(input()))

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

ans=0

for aa in a:

    if aa%2==0:

        ans+=count(aa)

print(ans)



# ABC100 C - *3 or /2
N = int(eval(input()))
A = list(map(int, input().split()))
ans = 0
for i in range(N):
    x = 0
    t = 0
    x = A[i]
    while x % 2 == 0:
        x = x // 2
        t += 1
    ans += t
print(ans)

def count(x):
    cnt = 0
    while x != 0:
        if x % 2 == 0:
            x //= 2
            cnt += 1
        else:
            break
    return cnt


n = int(eval(input()))
a = list(map(int, input().split()))
ans = 0
for aa in a:
    if aa % 2 == 0:
        ans += count(aa)
print(ans)

-# ABC100 C - *3 or /2 -N = int(eval(input())) -A = list(map(int, input().split())) +def count(x): +    cnt = 0 +    while x != 0: +        if x % 2 == 0: +            x //= 2 +            cnt += 1 +        else: +            break +    return cnt + + +n = int(eval(input())) +a = list(map(int, input().split())) -for i in range(N): -    x = 0 -    t = 0 -    x = A[i] -    while x % 2 == 0: -        x = x // 2 -        t += 1 -    ans += t +for aa in a: +    if aa % 2 == 0: +        ans += count(aa)