#include<stdio.h>
int main()
{
    int n,i,j,p,a[10005],q;
    while(scanf("%d",&n)!=EOF)
    {
        p=0;
        for(i=0;i<n;i++)
        {
            scanf("%d",&a[i]);
            q=a[i];
            while(q%2==0)
            {
                q=q/2;
                p++;
            }
        }
        printf("%d\n",p);
    }return 0;
}
