#include<iostream>
#include<vector>
using namespace std;

int main(){
	int N;
	cin >> N;
	int ans = 0;

	for(int i=0;i<N;i++){
		int t;
		cin >> t;
		while(!(t%2)){
			t = t/2;
			ans++;
		}
	}
	cout << ans << endl;

}
