1 #include2 #include 3 #include 4 #include 5 #include 6 #define ll long long 7 #define out(a) printf("%d",a) 8 using namespace std; 9 int n,cnt; 10 int a[100050];11 int read()12 {13 int s=0,t=1; char c;14 while (c<'0'||c>'9'){ if (c=='-') t=-1; c=getchar();}15 while (c>='0'&&c<='9'){s=s*10+c-'0'; c=getchar();}16 return s*t;17 }18 int main()19 {20 n=read();21 for (int i=1;i<=n;i++)22 a[i]=read();23 for (int i=1;i<=n;i++)24 if (a[i]%2==0) {25 while (true) {26 if (a[i]%2==0) cnt++,a[i]/=2;27 else break;28 }29 }30 out(cnt);31 return 0;32 }