import java.awt.Point;
import java.util.ArrayDeque;
import java.util.Scanner;
import java.util.*;
import java.util.Arrays;
import java.util.ArrayList;
import java.util.Set;
import java.util.HashSet;
import java.util.Collection;


 
public class Main{
	
        static final Scanner sc=new Scanner(System.in);
        static int N=sc.nextInt();
        static long[]a=new long[N];
        
        
        public static void main(String[]args){
                int sum=0;

                for(int i=0;i<N;i++){
                        a[i]=sc.nextLong();}
                        long x=0;
                for(int i=0;i<N;i++){
                        x=a[i];
                        for(;;){
                                if(x%2==0){
                                        sum++;
                                        x=x/2;
                                }else{
                                        break;
                                }
                        }

                }
                System.out.println(sum);
                
                

        }
        
        
        

		
	
} import java.awt.Point; Point java.awt import java.util.ArrayDeque; ArrayDeque java.util import java.util.Scanner; Scanner java.util import java.util.*; util.* java import java.util.Arrays; Arrays java.util import java.util.ArrayList; ArrayList java.util import java.util.Set; Set java.util import java.util.HashSet; HashSet java.util import java.util.Collection; Collection java.util public class Main{
	
        static final Scanner sc=new Scanner(System.in);
        static int N=sc.nextInt();
        static long[]a=new long[N];
        
        
        public static void main(String[]args){
                int sum=0;

                for(int i=0;i<N;i++){
                        a[i]=sc.nextLong();}
                        long x=0;
                for(int i=0;i<N;i++){
                        x=a[i];
                        for(;;){
                                if(x%2==0){
                                        sum++;
                                        x=x/2;
                                }else{
                                        break;
                                }
                        }

                }
                System.out.println(sum);
                
                

        }
        
        
        

		
	
} Main static final Scanner sc=new Scanner(System.in); sc new Scanner(System.in) static int N=sc.nextInt(); N sc.nextInt() sc.nextInt sc static long[]a=new long[N]; a new long[N] N public static void main(String[]args){
                int sum=0;

                for(int i=0;i<N;i++){
                        a[i]=sc.nextLong();}
                        long x=0;
                for(int i=0;i<N;i++){
                        x=a[i];
                        for(;;){
                                if(x%2==0){
                                        sum++;
                                        x=x/2;
                                }else{
                                        break;
                                }
                        }

                }
                System.out.println(sum);
                
                

        } main {
                int sum=0;

                for(int i=0;i<N;i++){
                        a[i]=sc.nextLong();}
                        long x=0;
                for(int i=0;i<N;i++){
                        x=a[i];
                        for(;;){
                                if(x%2==0){
                                        sum++;
                                        x=x/2;
                                }else{
                                        break;
                                }
                        }

                }
                System.out.println(sum);
                
                

        } int sum=0; sum 0 for(int i=0;i<N;i++){
                        a[i]=sc.nextLong();} int i=0; int i=0; i 0 i<N i N i++ i++ i {
                        a[i]=sc.nextLong();} {
                        a[i]=sc.nextLong();} a[i]=sc.nextLong() a[i] a i sc.nextLong() sc.nextLong sc long x=0; x 0 for(int i=0;i<N;i++){
                        x=a[i];
                        for(;;){
                                if(x%2==0){
                                        sum++;
                                        x=x/2;
                                }else{
                                        break;
                                }
                        }

                } int i=0; int i=0; i 0 i<N i N i++ i++ i {
                        x=a[i];
                        for(;;){
                                if(x%2==0){
                                        sum++;
                                        x=x/2;
                                }else{
                                        break;
                                }
                        }

                } {
                        x=a[i];
                        for(;;){
                                if(x%2==0){
                                        sum++;
                                        x=x/2;
                                }else{
                                        break;
                                }
                        }

                } x=a[i] x a[i] a i for(;;){
                                if(x%2==0){
                                        sum++;
                                        x=x/2;
                                }else{
                                        break;
                                }
                        } ; {
                                if(x%2==0){
                                        sum++;
                                        x=x/2;
                                }else{
                                        break;
                                }
                        } {
                                if(x%2==0){
                                        sum++;
                                        x=x/2;
                                }else{
                                        break;
                                }
                        } if(x%2==0){
                                        sum++;
                                        x=x/2;
                                }else{
                                        break;
                                } x%2==0 x%2 x 2 0 {
                                        sum++;
                                        x=x/2;
                                } sum++ sum x=x/2 x x/2 x 2 {
                                        break;
                                } break; System.out.println(sum) System.out.println System.out System System.out sum String[]args args public class Main{
	
        static final Scanner sc=new Scanner(System.in);
        static int N=sc.nextInt();
        static long[]a=new long[N];
        
        
        public static void main(String[]args){
                int sum=0;

                for(int i=0;i<N;i++){
                        a[i]=sc.nextLong();}
                        long x=0;
                for(int i=0;i<N;i++){
                        x=a[i];
                        for(;;){
                                if(x%2==0){
                                        sum++;
                                        x=x/2;
                                }else{
                                        break;
                                }
                        }

                }
                System.out.println(sum);
                
                

        }
        
        
        

		
	
} public class Main{
	
        static final Scanner sc=new Scanner(System.in);
        static int N=sc.nextInt();
        static long[]a=new long[N];
        
        
        public static void main(String[]args){
                int sum=0;

                for(int i=0;i<N;i++){
                        a[i]=sc.nextLong();}
                        long x=0;
                for(int i=0;i<N;i++){
                        x=a[i];
                        for(;;){
                                if(x%2==0){
                                        sum++;
                                        x=x/2;
                                }else{
                                        break;
                                }
                        }

                }
                System.out.println(sum);
                
                

        }
        
        
        

		
	
} Main
import java.awt.Point;
import java.util.ArrayDeque;
import java.util.Scanner;
import java.util.*;
import java.util.Arrays;
import java.util.ArrayList;
import java.util.Set;
import java.util.HashSet;
import java.util.Collection;


 
public class Main{
	
        static final Scanner sc=new Scanner(System.in);
        static int N=sc.nextInt();
        static long[]a=new long[N];
        
        
        public static void main(String[]args){
                int sum=0;

                for(int i=0;i<N;i++){
                        a[i]=sc.nextLong();}
                        long x=0;
                for(int i=0;i<N;i++){
                        x=a[i];
                        for(;;){
                                if(x%2==0){
                                        sum++;
                                        x=x/2;
                                }else{
                                        break;
                                }
                        }

                }
                System.out.println(sum);
                
                

        }
        
        
        

		
	
}
