import java.util.*;
public class Main{
public static void main(String arg[]){
	Scanner sc=new Scanner(System.in);
	int a=sc.nextInt();
	int count=0;
	int arr[]=new int[a];
	for(int i=0;i<a;i++)
		arr[i]=sc.nextInt();
	for(int i=0;i<a;i++){
		while(true){
			if(arr[i]%2==0){
				count++;
				arr[i]=arr[i]/2;
		}
		else break;
	}
	}
	System.out.println(count);
}
} import java.util.*; util.* java public class Main{
public static void main(String arg[]){
	Scanner sc=new Scanner(System.in);
	int a=sc.nextInt();
	int count=0;
	int arr[]=new int[a];
	for(int i=0;i<a;i++)
		arr[i]=sc.nextInt();
	for(int i=0;i<a;i++){
		while(true){
			if(arr[i]%2==0){
				count++;
				arr[i]=arr[i]/2;
		}
		else break;
	}
	}
	System.out.println(count);
}
} Main public static void main(String arg[]){
	Scanner sc=new Scanner(System.in);
	int a=sc.nextInt();
	int count=0;
	int arr[]=new int[a];
	for(int i=0;i<a;i++)
		arr[i]=sc.nextInt();
	for(int i=0;i<a;i++){
		while(true){
			if(arr[i]%2==0){
				count++;
				arr[i]=arr[i]/2;
		}
		else break;
	}
	}
	System.out.println(count);
} main {
	Scanner sc=new Scanner(System.in);
	int a=sc.nextInt();
	int count=0;
	int arr[]=new int[a];
	for(int i=0;i<a;i++)
		arr[i]=sc.nextInt();
	for(int i=0;i<a;i++){
		while(true){
			if(arr[i]%2==0){
				count++;
				arr[i]=arr[i]/2;
		}
		else break;
	}
	}
	System.out.println(count);
} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int a=sc.nextInt(); a sc.nextInt() sc.nextInt sc int count=0; count 0 int arr[]=new int[a]; arr new int[a] a for(int i=0;i<a;i++)
		arr[i]=sc.nextInt(); int i=0; int i=0; i 0 i<a i a i++ i++ i arr[i]=sc.nextInt(); arr[i]=sc.nextInt() arr[i] arr i sc.nextInt() sc.nextInt sc for(int i=0;i<a;i++){
		while(true){
			if(arr[i]%2==0){
				count++;
				arr[i]=arr[i]/2;
		}
		else break;
	}
	} int i=0; int i=0; i 0 i<a i a i++ i++ i {
		while(true){
			if(arr[i]%2==0){
				count++;
				arr[i]=arr[i]/2;
		}
		else break;
	}
	} {
		while(true){
			if(arr[i]%2==0){
				count++;
				arr[i]=arr[i]/2;
		}
		else break;
	}
	} while(true){
			if(arr[i]%2==0){
				count++;
				arr[i]=arr[i]/2;
		}
		else break;
	} true {
			if(arr[i]%2==0){
				count++;
				arr[i]=arr[i]/2;
		}
		else break;
	} if(arr[i]%2==0){
				count++;
				arr[i]=arr[i]/2;
		}
		else break; arr[i]%2==0 arr[i]%2 arr[i] arr i 2 0 {
				count++;
				arr[i]=arr[i]/2;
		} count++ count arr[i]=arr[i]/2 arr[i] arr i arr[i]/2 arr[i] arr i 2 break; System.out.println(count) System.out.println System.out System System.out count String arg[] arg public class Main{
public static void main(String arg[]){
	Scanner sc=new Scanner(System.in);
	int a=sc.nextInt();
	int count=0;
	int arr[]=new int[a];
	for(int i=0;i<a;i++)
		arr[i]=sc.nextInt();
	for(int i=0;i<a;i++){
		while(true){
			if(arr[i]%2==0){
				count++;
				arr[i]=arr[i]/2;
		}
		else break;
	}
	}
	System.out.println(count);
}
} public class Main{
public static void main(String arg[]){
	Scanner sc=new Scanner(System.in);
	int a=sc.nextInt();
	int count=0;
	int arr[]=new int[a];
	for(int i=0;i<a;i++)
		arr[i]=sc.nextInt();
	for(int i=0;i<a;i++){
		while(true){
			if(arr[i]%2==0){
				count++;
				arr[i]=arr[i]/2;
		}
		else break;
	}
	}
	System.out.println(count);
}
} Main
import java.util.*;
public class Main{
public static void main(String arg[]){
	Scanner sc=new Scanner(System.in);
	int a=sc.nextInt();
	int count=0;
	int arr[]=new int[a];
	for(int i=0;i<a;i++)
		arr[i]=sc.nextInt();
	for(int i=0;i<a;i++){
		while(true){
			if(arr[i]%2==0){
				count++;
				arr[i]=arr[i]/2;
		}
		else break;
	}
	}
	System.out.println(count);
}
}