import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		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 sol=0;
		for(long v:a){
			while((v&1)==0){
				v>>=1;sol++;
			}
		}
		System.out.println(sol);
	}

} 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();
		long[] a=new long[N];
		for(int i=0;i<N;i++) a[i]=sc.nextLong();
		
		int sol=0;
		for(long v:a){
			while((v&1)==0){
				v>>=1;sol++;
			}
		}
		System.out.println(sol);
	}

} Main public static void main(String[] args) {
		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 sol=0;
		for(long v:a){
			while((v&1)==0){
				v>>=1;sol++;
			}
		}
		System.out.println(sol);
	} main {
		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 sol=0;
		for(long v:a){
			while((v&1)==0){
				v>>=1;sol++;
			}
		}
		System.out.println(sol);
	} 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] a i sc.nextLong() sc.nextLong sc int sol=0; sol 0 for(long v:a){
			while((v&1)==0){
				v>>=1;sol++;
			}
		} long v a {
			while((v&1)==0){
				v>>=1;sol++;
			}
		} {
			while((v&1)==0){
				v>>=1;sol++;
			}
		} while((v&1)==0){
				v>>=1;sol++;
			} (v&1)==0 (v&1) v 1 0 {
				v>>=1;sol++;
			} v>>=1 v 1 sol++ sol System.out.println(sol) System.out.println System.out System System.out sol String[] args args public class Main {
	public static void main(String[] args) {
		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 sol=0;
		for(long v:a){
			while((v&1)==0){
				v>>=1;sol++;
			}
		}
		System.out.println(sol);
	}

} public class Main {
	public static void main(String[] args) {
		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 sol=0;
		for(long v:a){
			while((v&1)==0){
				v>>=1;sol++;
			}
		}
		System.out.println(sol);
	}

} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		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 sol=0;
		for(long v:a){
			while((v&1)==0){
				v>>=1;sol++;
			}
		}
		System.out.println(sol);
	}

}
