N = int(eval(input()))

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

cnt = 0

for i in a:

  num = i

  while num % 2 == 0:

    cnt += 1

    num /= 2

print(cnt)
# C - *3 or /2

# https://atcoder.jp/contests/abc100/tasks/abc100_c



n = int(eval(input()))

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



ans = 0

for a in A:

  while a % 2 == 0:

    a //= 2

    ans += 1



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

# C - *3 or /2
# https://atcoder.jp/contests/abc100/tasks/abc100_c
n = int(eval(input()))
A = list(map(int, input().split()))
ans = 0
for a in A:
    while a % 2 == 0:
        a //= 2
        ans += 1
print(ans)

-N = int(eval(input())) -a = list(map(int, input().split())) -cnt = 0 -for i in a: -    num = i -    while num % 2 == 0: -        cnt += 1 -        num /= 2 -print(cnt) +# C - *3 or /2 +# https://atcoder.jp/contests/abc100/tasks/abc100_c +n = int(eval(input())) +A = list(map(int, input().split())) +ans = 0 +for a in A: +    while a % 2 == 0: +        a //= 2 +        ans += 1 +print(ans)