import java.util.*;
public class Main {
    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	int n = sc.nextInt();
    	int i,j,l;
    	j=0;
    	for(i=0;i<n;i++){
    		l=sc.nextInt();
    		while(l%2==0){
    			l=l/2;
    			j++;
    		}
    	}
    	System.out.println(j);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	int n = sc.nextInt();
    	int i,j,l;
    	j=0;
    	for(i=0;i<n;i++){
    		l=sc.nextInt();
    		while(l%2==0){
    			l=l/2;
    			j++;
    		}
    	}
    	System.out.println(j);
    }
} Main public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	int n = sc.nextInt();
    	int i,j,l;
    	j=0;
    	for(i=0;i<n;i++){
    		l=sc.nextInt();
    		while(l%2==0){
    			l=l/2;
    			j++;
    		}
    	}
    	System.out.println(j);
    } main {
    	Scanner sc = new Scanner(System.in);
    	int n = sc.nextInt();
    	int i,j,l;
    	j=0;
    	for(i=0;i<n;i++){
    		l=sc.nextInt();
    		while(l%2==0){
    			l=l/2;
    			j++;
    		}
    	}
    	System.out.println(j);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int i i j j l; l j=0 j 0 for(i=0;i<n;i++){
    		l=sc.nextInt();
    		while(l%2==0){
    			l=l/2;
    			j++;
    		}
    	} i=0; i=0 i 0 i<n i n i++ i++ i {
    		l=sc.nextInt();
    		while(l%2==0){
    			l=l/2;
    			j++;
    		}
    	} {
    		l=sc.nextInt();
    		while(l%2==0){
    			l=l/2;
    			j++;
    		}
    	} l=sc.nextInt() l sc.nextInt() sc.nextInt sc while(l%2==0){
    			l=l/2;
    			j++;
    		} l%2==0 l%2 l 2 0 {
    			l=l/2;
    			j++;
    		} l=l/2 l l/2 l 2 j++ j System.out.println(j) System.out.println System.out System System.out j String[] args args public class Main {
    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	int n = sc.nextInt();
    	int i,j,l;
    	j=0;
    	for(i=0;i<n;i++){
    		l=sc.nextInt();
    		while(l%2==0){
    			l=l/2;
    			j++;
    		}
    	}
    	System.out.println(j);
    }
} public class Main {
    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	int n = sc.nextInt();
    	int i,j,l;
    	j=0;
    	for(i=0;i<n;i++){
    		l=sc.nextInt();
    		while(l%2==0){
    			l=l/2;
    			j++;
    		}
    	}
    	System.out.println(j);
    }
} Main
import java.util.*;
public class Main {
    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	int n = sc.nextInt();
    	int i,j,l;
    	j=0;
    	for(i=0;i<n;i++){
    		l=sc.nextInt();
    		while(l%2==0){
    			l=l/2;
    			j++;
    		}
    	}
    	System.out.println(j);
    }
}