#include <cstdio>

int main() {
	int n, cnt = 0, num;
	scanf("%d", &n);
	for(int i = 1; i <= n; i++) {
		scanf("%d", &num);
		while(num % 2 == 0) {
			cnt ++;
			num /= 2;
		}
	}
	printf("%d\n", cnt);
	return 0;
}