n=int(eval(input()))

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

cnt=0

def cnt_2(n):

  cnt=0

  while n>1:

    if n%2==0:

      n//=2

      cnt+=1

    else:

      break

  return cnt

    

for i in num:

  cnt+=cnt_2(i)

print(cnt)
import sys

sys.setrecursionlimit(10000000)

MOD = 10 ** 9 + 7

INF = 10 ** 15



def main():

    N = int(eval(input()))

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

    ans = 0

    for a in A:

        while a%2 == 0:

            ans += 1

            a >>= 1

    print(ans)

if __name__ == '__main__':

    main()
n = int(eval(input()))
num = list(map(int, input().split()))
cnt = 0


def cnt_2(n):
    cnt = 0
    while n > 1:
        if n % 2 == 0:
            n //= 2
            cnt += 1
        else:
            break
    return cnt


for i in num:
    cnt += cnt_2(i)
print(cnt)

import sys

sys.setrecursionlimit(10000000)
MOD = 10**9 + 7
INF = 10**15


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


if __name__ == "__main__":
    main()

-n = int(eval(input())) -num = list(map(int, input().split())) -cnt = 0 +import sys + +sys.setrecursionlimit(10000000) +MOD = 10**9 + 7 +INF = 10**15 -def cnt_2(n): -    cnt = 0 -    while n > 1: -        if n % 2 == 0: -            n //= 2 -            cnt += 1 -        else: -            break -    return cnt +def main(): +    N = int(eval(input())) +    A = list(map(int, input().split())) +    ans = 0 +    for a in A: +        while a % 2 == 0: +            ans += 1 +            a >>= 1 +    print(ans) -for i in num: -    cnt += cnt_2(i) -print(cnt) +if __name__ == "__main__": +    main()