n=int(eval(input()))

#a,b=map(int,input().split())

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

#l=[list(map(int,input().split())) for i in range(n)]

count=0

for a in al:

    temp=0

    v=a

    while v%2==0:

        v=v//2

        temp+=1

    count+=temp



print(count)



n=int(eval(input()))

#a,b,n=map(int,input().split())

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

#l=[list(map(int,input().split())) for i in range(n)]



def div2(v):

    res=0

    if v==0:

        return res

    while v%2==0:

        v=v//2

        res+=1

    return res

ans=0

for ai in al:

    ans+=div2(ai)

print(ans)



n = int(eval(input()))
# a,b=map(int,input().split())
al = list(map(int, input().split()))
# l=[list(map(int,input().split())) for i in range(n)]
count = 0
for a in al:
    temp = 0
    v = a
    while v % 2 == 0:
        v = v // 2
        temp += 1
    count += temp
print(count)

n = int(eval(input()))
# a,b,n=map(int,input().split())
al = list(map(int, input().split()))
# l=[list(map(int,input().split())) for i in range(n)]
def div2(v):
    res = 0
    if v == 0:
        return res
    while v % 2 == 0:
        v = v // 2
        res += 1
    return res


ans = 0
for ai in al:
    ans += div2(ai)
print(ans)

-# a,b=map(int,input().split()) +# a,b,n=map(int,input().split()) -count = 0 -for a in al: -    temp = 0 -    v = a +def div2(v): +    res = 0 +    if v == 0: +        return res -        temp += 1 -    count += temp -print(count) +        res += 1 +    return res + + +ans = 0 +for ai in al: +    ans += div2(ai) +print(ans)