n,*a=list(map(int,open(0).read().split()))

#print(f.reduce(o.mul,a))

a=[s for s in a if s%2==0]

if len(a)==0:

    print((0))

    exit()

count=0



for x in a:

    while True:

        if x%2==0:

            x=x//2

            count+=1

        else:

            break

print(count)
n,*a=list(map(int,open(0).read().split()))

def f(x):

    ans=0

    while x%2==0 :

        ans+=1

        x//=2

    return ans

print((sum(map(f,a))))
n, *a = list(map(int, open(0).read().split()))
# print(f.reduce(o.mul,a))
a = [s for s in a if s % 2 == 0]
if len(a) == 0:
    print((0))
    exit()
count = 0
for x in a:
    while True:
        if x % 2 == 0:
            x = x // 2
            count += 1
        else:
            break
print(count)

n, *a = list(map(int, open(0).read().split()))


def f(x):
    ans = 0
    while x % 2 == 0:
        ans += 1
        x //= 2
    return ans


print((sum(map(f, a))))

-# print(f.reduce(o.mul,a)) -a = [s for s in a if s % 2 == 0] -if len(a) == 0: -    print((0)) -    exit() -count = 0 -for x in a: -    while True: -        if x % 2 == 0: -            x = x // 2 -            count += 1 -        else: -            break -print(count) + + +def f(x): +    ans = 0 +    while x % 2 == 0: +        ans += 1 +        x //= 2 +    return ans + + +print((sum(map(f, a))))