import java.util.*;
public class Main {
    public static void main(String[] args) {	
	Main main = new Main();
    	main.solveC();
    }
    
    private void solveA() {
	Scanner sc = new Scanner(System.in);
    	int A = sc.nextInt();
    	int B = sc.nextInt();
	String s;
	if (A>=9 || B>=9){
	    s = ":(";
	}
	else{
	    s = "Yay!";
	}
    	System.out.println(s);
    }

    private void solveB() {
	Scanner sc = new Scanner(System.in);
	int D = sc.nextInt();
    	int N = sc.nextInt();
	int p = 1;
	
	for (int i=0;i < D;i++){
	    p *=100;
	}	
	
	System.out.println(p*N);
    }
    private void solveC() {
	Scanner sc = new Scanner(System.in);
	int n = sc.nextInt();
	long[] a = new long[n];
	
	for(int i=0; i < n; i++){
	    a[i] = sc.nextLong();
	}

	int cnt = 0;

	for(int i=0; i < n; i++){
	    if(a[i]%2 == 0){		
		while(a[i]%2 ==0){
		    a[i]/=2;
		    cnt++;
		}
	    }
	}

	System.out.println(cnt);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {	
	Main main = new Main();
    	main.solveC();
    }
    
    private void solveA() {
	Scanner sc = new Scanner(System.in);
    	int A = sc.nextInt();
    	int B = sc.nextInt();
	String s;
	if (A>=9 || B>=9){
	    s = ":(";
	}
	else{
	    s = "Yay!";
	}
    	System.out.println(s);
    }

    private void solveB() {
	Scanner sc = new Scanner(System.in);
	int D = sc.nextInt();
    	int N = sc.nextInt();
	int p = 1;
	
	for (int i=0;i < D;i++){
	    p *=100;
	}	
	
	System.out.println(p*N);
    }
    private void solveC() {
	Scanner sc = new Scanner(System.in);
	int n = sc.nextInt();
	long[] a = new long[n];
	
	for(int i=0; i < n; i++){
	    a[i] = sc.nextLong();
	}

	int cnt = 0;

	for(int i=0; i < n; i++){
	    if(a[i]%2 == 0){		
		while(a[i]%2 ==0){
		    a[i]/=2;
		    cnt++;
		}
	    }
	}

	System.out.println(cnt);
    }
} Main public static void main(String[] args) {	
	Main main = new Main();
    	main.solveC();
    } main {	
	Main main = new Main();
    	main.solveC();
    } Main main = new Main(); main new Main() main.solveC() main.solveC main String[] args args private void solveA() {
	Scanner sc = new Scanner(System.in);
    	int A = sc.nextInt();
    	int B = sc.nextInt();
	String s;
	if (A>=9 || B>=9){
	    s = ":(";
	}
	else{
	    s = "Yay!";
	}
    	System.out.println(s);
    } solveA {
	Scanner sc = new Scanner(System.in);
    	int A = sc.nextInt();
    	int B = sc.nextInt();
	String s;
	if (A>=9 || B>=9){
	    s = ":(";
	}
	else{
	    s = "Yay!";
	}
    	System.out.println(s);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int A = sc.nextInt(); A sc.nextInt() sc.nextInt sc int B = sc.nextInt(); B sc.nextInt() sc.nextInt sc String s; s if (A>=9 || B>=9){
	    s = ":(";
	}
	else{
	    s = "Yay!";
	} A>=9 || B>=9 A>=9 A 9 B>=9 B 9 {
	    s = ":(";
	} s = ":(" s ":(" {
	    s = "Yay!";
	} s = "Yay!" s "Yay!" System.out.println(s) System.out.println System.out System System.out s private void solveB() {
	Scanner sc = new Scanner(System.in);
	int D = sc.nextInt();
    	int N = sc.nextInt();
	int p = 1;
	
	for (int i=0;i < D;i++){
	    p *=100;
	}	
	
	System.out.println(p*N);
    } solveB {
	Scanner sc = new Scanner(System.in);
	int D = sc.nextInt();
    	int N = sc.nextInt();
	int p = 1;
	
	for (int i=0;i < D;i++){
	    p *=100;
	}	
	
	System.out.println(p*N);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int D = sc.nextInt(); D sc.nextInt() sc.nextInt sc int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int p = 1; p 1 for (int i=0;i < D;i++){
	    p *=100;
	} int i=0; int i=0; i 0 i < D i D i++ i++ i {
	    p *=100;
	} {
	    p *=100;
	} p *=100 p 100 System.out.println(p*N) System.out.println System.out System System.out p*N p N private void solveC() {
	Scanner sc = new Scanner(System.in);
	int n = sc.nextInt();
	long[] a = new long[n];
	
	for(int i=0; i < n; i++){
	    a[i] = sc.nextLong();
	}

	int cnt = 0;

	for(int i=0; i < n; i++){
	    if(a[i]%2 == 0){		
		while(a[i]%2 ==0){
		    a[i]/=2;
		    cnt++;
		}
	    }
	}

	System.out.println(cnt);
    } solveC {
	Scanner sc = new Scanner(System.in);
	int n = sc.nextInt();
	long[] a = new long[n];
	
	for(int i=0; i < n; i++){
	    a[i] = sc.nextLong();
	}

	int cnt = 0;

	for(int i=0; i < n; i++){
	    if(a[i]%2 == 0){		
		while(a[i]%2 ==0){
		    a[i]/=2;
		    cnt++;
		}
	    }
	}

	System.out.println(cnt);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc long[] a = new long[n]; a new long[n] n 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 int cnt = 0; cnt 0 for(int i=0; i < n; i++){
	    if(a[i]%2 == 0){		
		while(a[i]%2 ==0){
		    a[i]/=2;
		    cnt++;
		}
	    }
	} int i=0; int i=0; i 0 i < n i n i++ i++ i {
	    if(a[i]%2 == 0){		
		while(a[i]%2 ==0){
		    a[i]/=2;
		    cnt++;
		}
	    }
	} {
	    if(a[i]%2 == 0){		
		while(a[i]%2 ==0){
		    a[i]/=2;
		    cnt++;
		}
	    }
	} if(a[i]%2 == 0){		
		while(a[i]%2 ==0){
		    a[i]/=2;
		    cnt++;
		}
	    } a[i]%2 == 0 a[i]%2 a[i] a i 2 0 {		
		while(a[i]%2 ==0){
		    a[i]/=2;
		    cnt++;
		}
	    } while(a[i]%2 ==0){
		    a[i]/=2;
		    cnt++;
		} a[i]%2 ==0 a[i]%2 a[i] a i 2 0 {
		    a[i]/=2;
		    cnt++;
		} a[i]/=2 a[i] a i 2 cnt++ cnt System.out.println(cnt) System.out.println System.out System System.out cnt public class Main {
    public static void main(String[] args) {	
	Main main = new Main();
    	main.solveC();
    }
    
    private void solveA() {
	Scanner sc = new Scanner(System.in);
    	int A = sc.nextInt();
    	int B = sc.nextInt();
	String s;
	if (A>=9 || B>=9){
	    s = ":(";
	}
	else{
	    s = "Yay!";
	}
    	System.out.println(s);
    }

    private void solveB() {
	Scanner sc = new Scanner(System.in);
	int D = sc.nextInt();
    	int N = sc.nextInt();
	int p = 1;
	
	for (int i=0;i < D;i++){
	    p *=100;
	}	
	
	System.out.println(p*N);
    }
    private void solveC() {
	Scanner sc = new Scanner(System.in);
	int n = sc.nextInt();
	long[] a = new long[n];
	
	for(int i=0; i < n; i++){
	    a[i] = sc.nextLong();
	}

	int cnt = 0;

	for(int i=0; i < n; i++){
	    if(a[i]%2 == 0){		
		while(a[i]%2 ==0){
		    a[i]/=2;
		    cnt++;
		}
	    }
	}

	System.out.println(cnt);
    }
} public class Main {
    public static void main(String[] args) {	
	Main main = new Main();
    	main.solveC();
    }
    
    private void solveA() {
	Scanner sc = new Scanner(System.in);
    	int A = sc.nextInt();
    	int B = sc.nextInt();
	String s;
	if (A>=9 || B>=9){
	    s = ":(";
	}
	else{
	    s = "Yay!";
	}
    	System.out.println(s);
    }

    private void solveB() {
	Scanner sc = new Scanner(System.in);
	int D = sc.nextInt();
    	int N = sc.nextInt();
	int p = 1;
	
	for (int i=0;i < D;i++){
	    p *=100;
	}	
	
	System.out.println(p*N);
    }
    private void solveC() {
	Scanner sc = new Scanner(System.in);
	int n = sc.nextInt();
	long[] a = new long[n];
	
	for(int i=0; i < n; i++){
	    a[i] = sc.nextLong();
	}

	int cnt = 0;

	for(int i=0; i < n; i++){
	    if(a[i]%2 == 0){		
		while(a[i]%2 ==0){
		    a[i]/=2;
		    cnt++;
		}
	    }
	}

	System.out.println(cnt);
    }
} Main
import java.util.*;
public class Main {
    public static void main(String[] args) {	
	Main main = new Main();
    	main.solveC();
    }
    
    private void solveA() {
	Scanner sc = new Scanner(System.in);
    	int A = sc.nextInt();
    	int B = sc.nextInt();
	String s;
	if (A>=9 || B>=9){
	    s = ":(";
	}
	else{
	    s = "Yay!";
	}
    	System.out.println(s);
    }

    private void solveB() {
	Scanner sc = new Scanner(System.in);
	int D = sc.nextInt();
    	int N = sc.nextInt();
	int p = 1;
	
	for (int i=0;i < D;i++){
	    p *=100;
	}	
	
	System.out.println(p*N);
    }
    private void solveC() {
	Scanner sc = new Scanner(System.in);
	int n = sc.nextInt();
	long[] a = new long[n];
	
	for(int i=0; i < n; i++){
	    a[i] = sc.nextLong();
	}

	int cnt = 0;

	for(int i=0; i < n; i++){
	    if(a[i]%2 == 0){		
		while(a[i]%2 ==0){
		    a[i]/=2;
		    cnt++;
		}
	    }
	}

	System.out.println(cnt);
    }
}