#include<map>
#include<cmath>
#include<cstdio>
#include<cstring>
#include<cstdlib>
#include<iostream>
#include<algorithm>
using namespace std;
long long k,i,n,a[20000],sum;
int main(){
	scanf("%lld",&n);
	for(i=0;i<n;i++){
		scanf("%lld",&a[i]);
		k=a[i];
	    while(k%2==0){
	    	k/=2;
	    	sum++;
		}
	}
	printf("%lld",sum);
}