import java.util.Scanner;
public class Main {

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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int N =sc.nextInt();
		int[] n =new int[N];
		for(int i=0;i<N;i++) {
			n[i]=sc.nextInt();
		}
		
		int m =0;
		int i=0;
		while(i<N) {
			
			if(n[i]%2==0) {
				n[i]=n[i]/2;
				m++;
			}else {
				i++;
			}
		}
		
		
		System.out.println(m);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int N =sc.nextInt();
		int[] n =new int[N];
		for(int i=0;i<N;i++) {
			n[i]=sc.nextInt();
		}
		
		int m =0;
		int i=0;
		while(i<N) {
			
			if(n[i]%2==0) {
				n[i]=n[i]/2;
				m++;
			}else {
				i++;
			}
		}
		
		
		System.out.println(m);
	} main {
		Scanner sc = new Scanner(System.in);
		
		int N =sc.nextInt();
		int[] n =new int[N];
		for(int i=0;i<N;i++) {
			n[i]=sc.nextInt();
		}
		
		int m =0;
		int i=0;
		while(i<N) {
			
			if(n[i]%2==0) {
				n[i]=n[i]/2;
				m++;
			}else {
				i++;
			}
		}
		
		
		System.out.println(m);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N =sc.nextInt(); N sc.nextInt() sc.nextInt sc int[] n =new int[N]; n new int[N] N for(int i=0;i<N;i++) {
			n[i]=sc.nextInt();
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			n[i]=sc.nextInt();
		} {
			n[i]=sc.nextInt();
		} n[i]=sc.nextInt() n[i] n i sc.nextInt() sc.nextInt sc int m =0; m 0 int i=0; i 0 while(i<N) {
			
			if(n[i]%2==0) {
				n[i]=n[i]/2;
				m++;
			}else {
				i++;
			}
		} i<N i N {
			
			if(n[i]%2==0) {
				n[i]=n[i]/2;
				m++;
			}else {
				i++;
			}
		} if(n[i]%2==0) {
				n[i]=n[i]/2;
				m++;
			}else {
				i++;
			} n[i]%2==0 n[i]%2 n[i] n i 2 0 {
				n[i]=n[i]/2;
				m++;
			} n[i]=n[i]/2 n[i] n i n[i]/2 n[i] n i 2 m++ m {
				i++;
			} i++ i System.out.println(m) System.out.println System.out System System.out m String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int N =sc.nextInt();
		int[] n =new int[N];
		for(int i=0;i<N;i++) {
			n[i]=sc.nextInt();
		}
		
		int m =0;
		int i=0;
		while(i<N) {
			
			if(n[i]%2==0) {
				n[i]=n[i]/2;
				m++;
			}else {
				i++;
			}
		}
		
		
		System.out.println(m);
	}
} public class Main {

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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int N =sc.nextInt();
		int[] n =new int[N];
		for(int i=0;i<N;i++) {
			n[i]=sc.nextInt();
		}
		
		int m =0;
		int i=0;
		while(i<N) {
			
			if(n[i]%2==0) {
				n[i]=n[i]/2;
				m++;
			}else {
				i++;
			}
		}
		
		
		System.out.println(m);
	}
}