
#include <iostream>
using namespace std;

int main() {
	int N, S = 0;

	cin >> N;

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

	cout << S;

	return 0;
}