import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int N = in.nextInt();
		int ans = 0;
		for (int i = 0; i < N; i++) {
			long digit = in.nextLong();
			if (digit % 2 == 0) {
				while (digit % 2 == 0) {
					digit /= 2;
					ans++;
				}
			}
		}
		System.out.println(ans);
		in.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int N = in.nextInt();
		int ans = 0;
		for (int i = 0; i < N; i++) {
			long digit = in.nextLong();
			if (digit % 2 == 0) {
				while (digit % 2 == 0) {
					digit /= 2;
					ans++;
				}
			}
		}
		System.out.println(ans);
		in.close();
	}
} Main public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int N = in.nextInt();
		int ans = 0;
		for (int i = 0; i < N; i++) {
			long digit = in.nextLong();
			if (digit % 2 == 0) {
				while (digit % 2 == 0) {
					digit /= 2;
					ans++;
				}
			}
		}
		System.out.println(ans);
		in.close();
	} main {
		Scanner in = new Scanner(System.in);
		int N = in.nextInt();
		int ans = 0;
		for (int i = 0; i < N; i++) {
			long digit = in.nextLong();
			if (digit % 2 == 0) {
				while (digit % 2 == 0) {
					digit /= 2;
					ans++;
				}
			}
		}
		System.out.println(ans);
		in.close();
	} Scanner in = new Scanner(System.in); in new Scanner(System.in) int N = in.nextInt(); N in.nextInt() in.nextInt in int ans = 0; ans 0 for (int i = 0; i < N; i++) {
			long digit = in.nextLong();
			if (digit % 2 == 0) {
				while (digit % 2 == 0) {
					digit /= 2;
					ans++;
				}
			}
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			long digit = in.nextLong();
			if (digit % 2 == 0) {
				while (digit % 2 == 0) {
					digit /= 2;
					ans++;
				}
			}
		} {
			long digit = in.nextLong();
			if (digit % 2 == 0) {
				while (digit % 2 == 0) {
					digit /= 2;
					ans++;
				}
			}
		} long digit = in.nextLong(); digit in.nextLong() in.nextLong in if (digit % 2 == 0) {
				while (digit % 2 == 0) {
					digit /= 2;
					ans++;
				}
			} digit % 2 == 0 digit % 2 digit 2 0 {
				while (digit % 2 == 0) {
					digit /= 2;
					ans++;
				}
			} while (digit % 2 == 0) {
					digit /= 2;
					ans++;
				} digit % 2 == 0 digit % 2 digit 2 0 {
					digit /= 2;
					ans++;
				} digit /= 2 digit 2 ans++ ans System.out.println(ans) System.out.println System.out System System.out ans in.close() in.close in String[] args args public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int N = in.nextInt();
		int ans = 0;
		for (int i = 0; i < N; i++) {
			long digit = in.nextLong();
			if (digit % 2 == 0) {
				while (digit % 2 == 0) {
					digit /= 2;
					ans++;
				}
			}
		}
		System.out.println(ans);
		in.close();
	}
} public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int N = in.nextInt();
		int ans = 0;
		for (int i = 0; i < N; i++) {
			long digit = in.nextLong();
			if (digit % 2 == 0) {
				while (digit % 2 == 0) {
					digit /= 2;
					ans++;
				}
			}
		}
		System.out.println(ans);
		in.close();
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int N = in.nextInt();
		int ans = 0;
		for (int i = 0; i < N; i++) {
			long digit = in.nextLong();
			if (digit % 2 == 0) {
				while (digit % 2 == 0) {
					digit /= 2;
					ans++;
				}
			}
		}
		System.out.println(ans);
		in.close();
	}
}