#include<cstdio>
#define ll long long
using namespace std;
int main(){
	int n,ans=0,now;
	scanf("%d",&n);
	for(int i=1;i<=n;i++){
		scanf("%d",&now);
		while(!(now&1)) now>>=1,ans++;
	}
	
	printf("%d\n",ans);
	return 0;
}