N = int(eval(input()))

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



a_g = [i for i in a_ if i%2 == 0]



count = 0

for i in a_g:

  while(i%2 == 0):

    count += 1

    i = i/2

print(count)

  



import math

n = int(eval(input()))

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

g_c = sum([1 for i in a if i%2==0]) 

c = 0

for i in a:

  if i%2==0:

    while(i%2==0):

      i = i//2

      c += 1

print(c)
N = int(eval(input()))
a_ = list(map(int, input().split()))
a_g = [i for i in a_ if i % 2 == 0]
count = 0
for i in a_g:
    while i % 2 == 0:
        count += 1
        i = i / 2
print(count)

import math

n = int(eval(input()))
a = list(map(int, input().split()))
g_c = sum([1 for i in a if i % 2 == 0])
c = 0
for i in a:
    if i % 2 == 0:
        while i % 2 == 0:
            i = i // 2
            c += 1
print(c)

-N = int(eval(input())) -a_ = list(map(int, input().split())) -a_g = [i for i in a_ if i % 2 == 0] -count = 0 -for i in a_g: -    while i % 2 == 0: -        count += 1 -        i = i / 2 -print(count) +import math + +n = int(eval(input())) +a = list(map(int, input().split())) +g_c = sum([1 for i in a if i % 2 == 0]) +c = 0 +for i in a: +    if i % 2 == 0: +        while i % 2 == 0: +            i = i // 2 +            c += 1 +print(c)