#include <iostream>

int main() {
	int n;
	std::cin >> n;

	int ans = 0;
	for (int i = 0; i < n; ++i) {
		int a;
		std::cin >> a;

		while (a % 2 == 0) {
			a /= 2;
			++ans;
		}
	}

	std::cout << ans << std::endl;
}