#coding: utf-8
import math
import heapq
import bisect
import numpy as np
from collections import Counter
#from scipy.misc import comb

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

ans = 0
for a in A:
    while a%2==0:
        a = a//2
        ans += 1

print(ans)
7f5353d4b2ecc6e6634ea5b0b6e147bf7bfc03c0
<mask token>

<mask token>
for a in A:
    while a % 2 == 0:
        a = a // 2
        ans += 1
print(ans)

<mask token>
N = int(input())
A = list(map(int, input().split()))
ans = 0
for a in A:
    while a % 2 == 0:
        a = a // 2
        ans += 1
print(ans)

import math
import heapq
import bisect
import numpy as np
from collections import Counter
N = int(input())
A = list(map(int, input().split()))
ans = 0
for a in A:
    while a % 2 == 0:
        a = a // 2
        ans += 1
print(ans)

#coding: utf-8
import math
import heapq
import bisect
import numpy as np
from collections import Counter
#from scipy.misc import comb

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

ans = 0
for a in A:
    while a%2==0:
        a = a//2
        ans += 1

print(ans)