from functools import reduce



def count_two(n):

	two_count = 0

	while n != 0 and n % 2 == 0:

		two_count += 1

		n //= 2

	return two_count



n = int(eval(input()))

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

a_two_count_sum = sum([count_two(ai) for ai in a])

print(a_two_count_sum)
def count_two(n):

	two = 0

	while n%2 == 0:

		n //= 2

		two += 1

	return two



n = int(eval(input()))

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



print((sum([count_two(a_n) for a_n in a])))
from functools import reduce


def count_two(n):
    two_count = 0
    while n != 0 and n % 2 == 0:
        two_count += 1
        n //= 2
    return two_count


n = int(eval(input()))
a = list(map(int, input().split()))
a_two_count_sum = sum([count_two(ai) for ai in a])
print(a_two_count_sum)

def count_two(n):
    two = 0
    while n % 2 == 0:
        n //= 2
        two += 1
    return two


n = int(eval(input()))
a = [int(m) for m in input().split(" ")]
print((sum([count_two(a_n) for a_n in a])))

-from functools import reduce - - -    two_count = 0 -    while n != 0 and n % 2 == 0: -        two_count += 1 +    two = 0 +    while n % 2 == 0: -    return two_count +        two += 1 +    return two -a = list(map(int, input().split())) -a_two_count_sum = sum([count_two(ai) for ai in a]) -print(a_two_count_sum) +a = [int(m) for m in input().split(" ")] +print((sum([count_two(a_n) for a_n in a])))