n = int(eval(input()))

a = [int(c) for c in input().split()]



count = 0

for n in a:

    x = n

    while x % 2 == 0:

        x /= 2

        count += 1



print(count)
def main():

    N = int(eval(input()))



    ans = 0

    for a in [x for x in map(int, input().split()) if x % 2 == 0]:

        i = a

        while i % 2 == 0:

            i //= 2

            ans += 1



    print(ans)

main()
n = int(eval(input()))
a = [int(c) for c in input().split()]
count = 0
for n in a:
    x = n
    while x % 2 == 0:
        x /= 2
        count += 1
print(count)

def main():
    N = int(eval(input()))
    ans = 0
    for a in [x for x in map(int, input().split()) if x % 2 == 0]:
        i = a
        while i % 2 == 0:
            i //= 2
            ans += 1
    print(ans)


main()

-n = int(eval(input())) -a = [int(c) for c in input().split()] -count = 0 -for n in a: -    x = n -    while x % 2 == 0: -        x /= 2 -        count += 1 -print(count) +def main(): +    N = int(eval(input())) +    ans = 0 +    for a in [x for x in map(int, input().split()) if x % 2 == 0]: +        i = a +        while i % 2 == 0: +            i //= 2 +            ans += 1 +    print(ans) + + +main()