import java.util.Scanner;

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

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		int[] input = new int[N];
		int res = 0;
		for (int i = 0; i < N; i++) {
			input[i] = sc.nextInt();
			while (true) {
				if (input[i] % 2 == 0) {
					input[i] /= 2;
					res++;
				} else {
					break;
				}
			}
		}
		System.out.print(res);
	}
}
