#include <iostream>
using namespace std;

int main(void){
  int a;
  int n,ans;
  
  cin >> n;
  ans = 0;
  for (int i=0; i<n; i++){
    for (cin >> a; a%2==0; a/=2) ans++;
  }
  cout << ans << endl;
}