#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n,m,ans=0;
    scanf("%d",&n);
    for(int i=0;i<n;i++)
    {
        scanf("%d",&m);
        while(m%2==0&&m) ans++,m/=2;
    }
    printf("%d\n",ans);

}
