#include <iostream>
using namespace std;
int main(void) {
	int n, a;
	cin >> n;
	int ans = 0;
	for (int i = 0; i < n; ++i) {
		cin >> a;
		while (a % 2 != 1) {
			a /= 2;
			++ans;
		}
	}
	cout << ans << endl;
	return 0;
}