# ABC100C - *3 or /2

n = int(eval(input()))

lst = [i for i in list(map(int, input().rstrip().split())) if i % 2 == 0]

if lst == []:

    print((0))

else:

    ans = 0

    for i in lst:

        cnt = 0

        while i % 2 == 0:

            i //= 2

            cnt += 1

        ans += cnt

    print(ans)
# ABC100C - *3 or /2

def main():

    N, *A = list(map(int, open(0).read().split()))

    ans = sum(bin(i)[::-1].index("1") for i in A)

    print(ans)





if __name__ == "__main__":

    main()
# ABC100C - *3 or /2
n = int(eval(input()))
lst = [i for i in list(map(int, input().rstrip().split())) if i % 2 == 0]
if lst == []:
    print((0))
else:
    ans = 0
    for i in lst:
        cnt = 0
        while i % 2 == 0:
            i //= 2
            cnt += 1
        ans += cnt
    print(ans)

# ABC100C - *3 or /2
def main():
    N, *A = list(map(int, open(0).read().split()))
    ans = sum(bin(i)[::-1].index("1") for i in A)
    print(ans)


if __name__ == "__main__":
    main()

-n = int(eval(input())) -lst = [i for i in list(map(int, input().rstrip().split())) if i % 2 == 0] -if lst == []: -    print((0)) -else: -    ans = 0 -    for i in lst: -        cnt = 0 -        while i % 2 == 0: -            i //= 2 -            cnt += 1 -        ans += cnt +def main(): +    N, *A = list(map(int, open(0).read().split())) +    ans = sum(bin(i)[::-1].index("1") for i in A) + + +if __name__ == "__main__": +    main()