#include <bits/stdc++.h>

using namespace std;

int main () {

  int n, el, count = 0;
  cin >> n;

  for(int i = 0; i < n; i ++) {
    cin >> el;
    while(el % 2 == 0) {
      el /= 2;
      count ++;
    }
  }

  cout << count << endl;

  return 0;
}