ans = 0

N = int(eval(input()))

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

for n in a:

    while not n % 2:

        ans += 1

        n //= 2

print(ans)
import sys



input = sys.stdin.readline



def main():

    N = int(eval(input()))

    

    ans = 0

    

    for a in list(map(int, input().split())):

        while not a % 2:

            ans += 1

            a //= 2

    print(ans)

    

if __name__ == '__main__':

    main()

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

import sys

input = sys.stdin.readline


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


if __name__ == "__main__":
    main()

-ans = 0 -N = int(eval(input())) -a = list(map(int, input().split())) -for n in a: -    while not n % 2: -        ans += 1 -        n //= 2 -print(ans) +import sys + +input = sys.stdin.readline + + +def main(): +    N = int(eval(input())) +    ans = 0 +    for a in list(map(int, input().split())): +        while not a % 2: +            ans += 1 +            a //= 2 +    print(ans) + + +if __name__ == "__main__": +    main()