#include <iostream>
using namespace std;

int main() {
	int n;cin>>n;
	long long a[n];
	int ans=0;
	for(int i=0;i<n;i++){
		cin>>a[i];
		while(a[i]%2==0){
			ans++;
			a[i]/=2;
		}
	}
	cout<<ans<<endl;
	return 0;
}
