#include <bits/stdc++.h>

using namespace std;

int main() {
    int n, number;
    int count = 0;
    vector <int> numbers;
    cin >> n;
    for (int i = 0; i < n; i++) {
        cin >> number;
        if(number % 2 == 0)
            numbers.push_back(number);
    }

    for(int j = 0; j < numbers.size(); j++) {
        while(numbers[j] % 2 == 0){
            numbers[j] /= 2;
            count++;
        }
    }

    cout << count << endl;
}