#include <bits/stdc++.h>

using namespace std;

int main () {
    int a;
    cin >> a;
    int cont = 0, x;
    for (int i = 0; i < a; i++){
        cin >> x;
        while (x % 2 == 0){
            cont ++;
            x/=2;
        }
    }

    cout << cont<< endl;
    
    
    return 0;
}