#include <iostream>
using namespace std;

int main(){

 int i,N,m,ans;

 cin >> N;
 ans=0;

 for(i=0;i<N;i++){
    cin >> m;
    while(m%2==0){
         ans++;
         m/=2;
    }
 }

 cout << ans << endl;
 return 0;
}