import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int s = sc.nextInt();
  		long nums[] = new long[s]; 
      	long stack_num;
      	long pos = 0;
      	
      	for(int i = 0;i < s; i++){
        	nums[i] = sc.nextLong();
        }
      
      	for(long num: nums){
          while(num % 2 == 0){
            num /= 2;
            pos++;
          }
        }
 		
      	System.out.println(pos);
        
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int s = sc.nextInt();
  		long nums[] = new long[s]; 
      	long stack_num;
      	long pos = 0;
      	
      	for(int i = 0;i < s; i++){
        	nums[i] = sc.nextLong();
        }
      
      	for(long num: nums){
          while(num % 2 == 0){
            num /= 2;
            pos++;
          }
        }
 		
      	System.out.println(pos);
        
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int s = sc.nextInt();
  		long nums[] = new long[s]; 
      	long stack_num;
      	long pos = 0;
      	
      	for(int i = 0;i < s; i++){
        	nums[i] = sc.nextLong();
        }
      
      	for(long num: nums){
          while(num % 2 == 0){
            num /= 2;
            pos++;
          }
        }
 		
      	System.out.println(pos);
        
	} main {
		Scanner sc = new Scanner(System.in);
		int s = sc.nextInt();
  		long nums[] = new long[s]; 
      	long stack_num;
      	long pos = 0;
      	
      	for(int i = 0;i < s; i++){
        	nums[i] = sc.nextLong();
        }
      
      	for(long num: nums){
          while(num % 2 == 0){
            num /= 2;
            pos++;
          }
        }
 		
      	System.out.println(pos);
        
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int s = sc.nextInt(); s sc.nextInt() sc.nextInt sc long nums[] = new long[s]; nums new long[s] s long stack_num; stack_num long pos = 0; pos 0 for(int i = 0;i < s; i++){
        	nums[i] = sc.nextLong();
        } int i = 0; int i = 0; i 0 i < s i s i++ i++ i {
        	nums[i] = sc.nextLong();
        } {
        	nums[i] = sc.nextLong();
        } nums[i] = sc.nextLong() nums[i] nums i sc.nextLong() sc.nextLong sc for(long num: nums){
          while(num % 2 == 0){
            num /= 2;
            pos++;
          }
        } long num nums {
          while(num % 2 == 0){
            num /= 2;
            pos++;
          }
        } {
          while(num % 2 == 0){
            num /= 2;
            pos++;
          }
        } while(num % 2 == 0){
            num /= 2;
            pos++;
          } num % 2 == 0 num % 2 num 2 0 {
            num /= 2;
            pos++;
          } num /= 2 num 2 pos++ pos System.out.println(pos) System.out.println System.out System System.out pos String[] args args public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int s = sc.nextInt();
  		long nums[] = new long[s]; 
      	long stack_num;
      	long pos = 0;
      	
      	for(int i = 0;i < s; i++){
        	nums[i] = sc.nextLong();
        }
      
      	for(long num: nums){
          while(num % 2 == 0){
            num /= 2;
            pos++;
          }
        }
 		
      	System.out.println(pos);
        
	}
} public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int s = sc.nextInt();
  		long nums[] = new long[s]; 
      	long stack_num;
      	long pos = 0;
      	
      	for(int i = 0;i < s; i++){
        	nums[i] = sc.nextLong();
        }
      
      	for(long num: nums){
          while(num % 2 == 0){
            num /= 2;
            pos++;
          }
        }
 		
      	System.out.println(pos);
        
	}
} Main
import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int s = sc.nextInt();
  		long nums[] = new long[s]; 
      	long stack_num;
      	long pos = 0;
      	
      	for(int i = 0;i < s; i++){
        	nums[i] = sc.nextLong();
        }
      
      	for(long num: nums){
          while(num % 2 == 0){
            num /= 2;
            pos++;
          }
        }
 		
      	System.out.println(pos);
        
	}
}
