#include <bits/stdc++.h>
using namespace std;
#define int long long

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



