#include "bits/stdc++.h"
using namespace std;

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