import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
    	Scanner scan=new Scanner(System.in);
    	int a=scan.nextInt();
    	int b[]=new int[a];
    	for(int i=0;i!=a;i++) {
    		b[i]=scan.nextInt();
    	}
    	int ans=0;
    	for(int i=0;i!=a;i++) {
    		if(b[i]%2==0) {
    			b[i]/=2;
    			ans++;
    			i=i-1;
    		}
    	}
    	System.out.println(ans);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
    	Scanner scan=new Scanner(System.in);
    	int a=scan.nextInt();
    	int b[]=new int[a];
    	for(int i=0;i!=a;i++) {
    		b[i]=scan.nextInt();
    	}
    	int ans=0;
    	for(int i=0;i!=a;i++) {
    		if(b[i]%2==0) {
    			b[i]/=2;
    			ans++;
    			i=i-1;
    		}
    	}
    	System.out.println(ans);
    }
} Main public static void main(String[] args) {
    	Scanner scan=new Scanner(System.in);
    	int a=scan.nextInt();
    	int b[]=new int[a];
    	for(int i=0;i!=a;i++) {
    		b[i]=scan.nextInt();
    	}
    	int ans=0;
    	for(int i=0;i!=a;i++) {
    		if(b[i]%2==0) {
    			b[i]/=2;
    			ans++;
    			i=i-1;
    		}
    	}
    	System.out.println(ans);
    } main {
    	Scanner scan=new Scanner(System.in);
    	int a=scan.nextInt();
    	int b[]=new int[a];
    	for(int i=0;i!=a;i++) {
    		b[i]=scan.nextInt();
    	}
    	int ans=0;
    	for(int i=0;i!=a;i++) {
    		if(b[i]%2==0) {
    			b[i]/=2;
    			ans++;
    			i=i-1;
    		}
    	}
    	System.out.println(ans);
    } Scanner scan=new Scanner(System.in); scan new Scanner(System.in) int a=scan.nextInt(); a scan.nextInt() scan.nextInt scan int b[]=new int[a]; b new int[a] a for(int i=0;i!=a;i++) {
    		b[i]=scan.nextInt();
    	} int i=0; int i=0; i 0 i!=a i a i++ i++ i {
    		b[i]=scan.nextInt();
    	} {
    		b[i]=scan.nextInt();
    	} b[i]=scan.nextInt() b[i] b i scan.nextInt() scan.nextInt scan int ans=0; ans 0 for(int i=0;i!=a;i++) {
    		if(b[i]%2==0) {
    			b[i]/=2;
    			ans++;
    			i=i-1;
    		}
    	} int i=0; int i=0; i 0 i!=a i a i++ i++ i {
    		if(b[i]%2==0) {
    			b[i]/=2;
    			ans++;
    			i=i-1;
    		}
    	} {
    		if(b[i]%2==0) {
    			b[i]/=2;
    			ans++;
    			i=i-1;
    		}
    	} if(b[i]%2==0) {
    			b[i]/=2;
    			ans++;
    			i=i-1;
    		} b[i]%2==0 b[i]%2 b[i] b i 2 0 {
    			b[i]/=2;
    			ans++;
    			i=i-1;
    		} b[i]/=2 b[i] b i 2 ans++ ans i=i-1 i i-1 i 1 System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
    public static void main(String[] args) {
    	Scanner scan=new Scanner(System.in);
    	int a=scan.nextInt();
    	int b[]=new int[a];
    	for(int i=0;i!=a;i++) {
    		b[i]=scan.nextInt();
    	}
    	int ans=0;
    	for(int i=0;i!=a;i++) {
    		if(b[i]%2==0) {
    			b[i]/=2;
    			ans++;
    			i=i-1;
    		}
    	}
    	System.out.println(ans);
    }
} public class Main {
    public static void main(String[] args) {
    	Scanner scan=new Scanner(System.in);
    	int a=scan.nextInt();
    	int b[]=new int[a];
    	for(int i=0;i!=a;i++) {
    		b[i]=scan.nextInt();
    	}
    	int ans=0;
    	for(int i=0;i!=a;i++) {
    		if(b[i]%2==0) {
    			b[i]/=2;
    			ans++;
    			i=i-1;
    		}
    	}
    	System.out.println(ans);
    }
} Main
import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
    	Scanner scan=new Scanner(System.in);
    	int a=scan.nextInt();
    	int b[]=new int[a];
    	for(int i=0;i!=a;i++) {
    		b[i]=scan.nextInt();
    	}
    	int ans=0;
    	for(int i=0;i!=a;i++) {
    		if(b[i]%2==0) {
    			b[i]/=2;
    			ans++;
    			i=i-1;
    		}
    	}
    	System.out.println(ans);
    }
}