#include<iostream>
#include<cstdio>
using namespace std;
int n;
int main()
{
	cin>>n;
	int ans=0,q;
	for(int i=1;i<=n;i++)
	{
		cin>>q;
		while(q%2==0)
		{
			q/=2;
			ans++;
		}
	}
	cout<<ans;
	return 0;
}