#include <bits/stdc++.h>
using namespace std;
int main() {
	int n = 0;
	cin >> n;
	int res = 0;
	for(int i=0;i<n;i++) {
		int x = 0;
		cin >> x;
		while (x % 2==0) {
			x /=2;
			res++;
		}
	}
	cout<<res;
}
