import java.io.InputStream;
import java.io.PrintStream;
import java.util.Scanner;

public class Main {
	InputStream in = System.in;
	PrintStream out = System.out;

	int cal(int x){
		if(x%2==0) {
			return 1+cal(x/2);
		}else {
			return 0;
		}
	}
	
	public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		int N = sc.nextInt();
		int[] a = new int[N];
		for(int i=0;i<N;i++) {
			a[i] = sc.nextInt();
		}
		
		int ans = 0;
		for(int i=0;i<N;i++) {
			ans += cal(a[i]);
		}
		
		out.println(ans);
		
		
		sc.close();

	}

	public static void main(String[] args) {
		new Main()._main(args);
	}

} import java.io.InputStream; InputStream java.io import java.io.PrintStream; PrintStream java.io import java.util.Scanner; Scanner java.util public class Main {
	InputStream in = System.in;
	PrintStream out = System.out;

	int cal(int x){
		if(x%2==0) {
			return 1+cal(x/2);
		}else {
			return 0;
		}
	}
	
	public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		int N = sc.nextInt();
		int[] a = new int[N];
		for(int i=0;i<N;i++) {
			a[i] = sc.nextInt();
		}
		
		int ans = 0;
		for(int i=0;i<N;i++) {
			ans += cal(a[i]);
		}
		
		out.println(ans);
		
		
		sc.close();

	}

	public static void main(String[] args) {
		new Main()._main(args);
	}

} Main InputStream in = System.in; in System.in System System.in PrintStream out = System.out; out System.out System System.out int cal(int x){
		if(x%2==0) {
			return 1+cal(x/2);
		}else {
			return 0;
		}
	} cal {
		if(x%2==0) {
			return 1+cal(x/2);
		}else {
			return 0;
		}
	} if(x%2==0) {
			return 1+cal(x/2);
		}else {
			return 0;
		} x%2==0 x%2 x 2 0 {
			return 1+cal(x/2);
		} return 1+cal(x/2); 1+cal(x/2) 1 cal(x/2) cal x/2 x 2 {
			return 0;
		} return 0; 0 int x x public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		int N = sc.nextInt();
		int[] a = new int[N];
		for(int i=0;i<N;i++) {
			a[i] = sc.nextInt();
		}
		
		int ans = 0;
		for(int i=0;i<N;i++) {
			ans += cal(a[i]);
		}
		
		out.println(ans);
		
		
		sc.close();

	} _main {
		Scanner sc = new Scanner(in);

		int N = sc.nextInt();
		int[] a = new int[N];
		for(int i=0;i<N;i++) {
			a[i] = sc.nextInt();
		}
		
		int ans = 0;
		for(int i=0;i<N;i++) {
			ans += cal(a[i]);
		}
		
		out.println(ans);
		
		
		sc.close();

	} Scanner sc = new Scanner(in); sc new Scanner(in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int[] a = new int[N]; a new int[N] N for(int i=0;i<N;i++) {
			a[i] = sc.nextInt();
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			a[i] = sc.nextInt();
		} {
			a[i] = sc.nextInt();
		} a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc int ans = 0; ans 0 for(int i=0;i<N;i++) {
			ans += cal(a[i]);
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			ans += cal(a[i]);
		} {
			ans += cal(a[i]);
		} ans += cal(a[i]) ans cal(a[i]) cal a[i] a i out.println(ans) out.println out ans sc.close() sc.close sc String[] args args public static void main(String[] args) {
		new Main()._main(args);
	} main {
		new Main()._main(args);
	} new Main()._main(args) new Main()._main new Main() args String[] args args public class Main {
	InputStream in = System.in;
	PrintStream out = System.out;

	int cal(int x){
		if(x%2==0) {
			return 1+cal(x/2);
		}else {
			return 0;
		}
	}
	
	public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		int N = sc.nextInt();
		int[] a = new int[N];
		for(int i=0;i<N;i++) {
			a[i] = sc.nextInt();
		}
		
		int ans = 0;
		for(int i=0;i<N;i++) {
			ans += cal(a[i]);
		}
		
		out.println(ans);
		
		
		sc.close();

	}

	public static void main(String[] args) {
		new Main()._main(args);
	}

} public class Main {
	InputStream in = System.in;
	PrintStream out = System.out;

	int cal(int x){
		if(x%2==0) {
			return 1+cal(x/2);
		}else {
			return 0;
		}
	}
	
	public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		int N = sc.nextInt();
		int[] a = new int[N];
		for(int i=0;i<N;i++) {
			a[i] = sc.nextInt();
		}
		
		int ans = 0;
		for(int i=0;i<N;i++) {
			ans += cal(a[i]);
		}
		
		out.println(ans);
		
		
		sc.close();

	}

	public static void main(String[] args) {
		new Main()._main(args);
	}

} Main
import java.io.InputStream;
import java.io.PrintStream;
import java.util.Scanner;

public class Main {
	InputStream in = System.in;
	PrintStream out = System.out;

	int cal(int x){
		if(x%2==0) {
			return 1+cal(x/2);
		}else {
			return 0;
		}
	}
	
	public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		int N = sc.nextInt();
		int[] a = new int[N];
		for(int i=0;i<N;i++) {
			a[i] = sc.nextInt();
		}
		
		int ans = 0;
		for(int i=0;i<N;i++) {
			ans += cal(a[i]);
		}
		
		out.println(ans);
		
		
		sc.close();

	}

	public static void main(String[] args) {
		new Main()._main(args);
	}

}
