#include <iostream>
using namespace std;
int main() {
	int N, a;
	int ans = 0;
	cin >> N;
	
	for (int i = 0; i < N; i++)
	{
		cin >> a;
		while (a % 2 == 0) {
			ans++;
			a /= 2;
		}
	}

	cout << ans << endl;
}