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

public class Main {
	public static void main(String[] args) throws Exception {
		InputStream is = System.in;
		solve(is);
	}

	private static void solve(InputStream is) {
		try (Scanner cin = new Scanner(is)) {
			int n = cin.nextInt();
			int[] a = new int[n];
			int ans = 0;

			for (int i = 0; i < n; i++) {
				a[i] = cin.nextInt();
			}

			for (int i = 0; i < n;) {
				if (a[i] % 2 == 0) {
					a[i] /= 2;
					ans++;
				} else {
					i++;
				}
			}

			System.out.println(ans);
		}
	}
} import java.io.InputStream; InputStream java.io import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) throws Exception {
		InputStream is = System.in;
		solve(is);
	}

	private static void solve(InputStream is) {
		try (Scanner cin = new Scanner(is)) {
			int n = cin.nextInt();
			int[] a = new int[n];
			int ans = 0;

			for (int i = 0; i < n; i++) {
				a[i] = cin.nextInt();
			}

			for (int i = 0; i < n;) {
				if (a[i] % 2 == 0) {
					a[i] /= 2;
					ans++;
				} else {
					i++;
				}
			}

			System.out.println(ans);
		}
	}
} Main public static void main(String[] args) throws Exception {
		InputStream is = System.in;
		solve(is);
	} main {
		InputStream is = System.in;
		solve(is);
	} InputStream is = System.in; is System.in System System.in solve(is) solve is String[] args args private static void solve(InputStream is) {
		try (Scanner cin = new Scanner(is)) {
			int n = cin.nextInt();
			int[] a = new int[n];
			int ans = 0;

			for (int i = 0; i < n; i++) {
				a[i] = cin.nextInt();
			}

			for (int i = 0; i < n;) {
				if (a[i] % 2 == 0) {
					a[i] /= 2;
					ans++;
				} else {
					i++;
				}
			}

			System.out.println(ans);
		}
	} solve {
		try (Scanner cin = new Scanner(is)) {
			int n = cin.nextInt();
			int[] a = new int[n];
			int ans = 0;

			for (int i = 0; i < n; i++) {
				a[i] = cin.nextInt();
			}

			for (int i = 0; i < n;) {
				if (a[i] % 2 == 0) {
					a[i] /= 2;
					ans++;
				} else {
					i++;
				}
			}

			System.out.println(ans);
		}
	} try (Scanner cin = new Scanner(is)) {
			int n = cin.nextInt();
			int[] a = new int[n];
			int ans = 0;

			for (int i = 0; i < n; i++) {
				a[i] = cin.nextInt();
			}

			for (int i = 0; i < n;) {
				if (a[i] % 2 == 0) {
					a[i] /= 2;
					ans++;
				} else {
					i++;
				}
			}

			System.out.println(ans);
		} {
			int n = cin.nextInt();
			int[] a = new int[n];
			int ans = 0;

			for (int i = 0; i < n; i++) {
				a[i] = cin.nextInt();
			}

			for (int i = 0; i < n;) {
				if (a[i] % 2 == 0) {
					a[i] /= 2;
					ans++;
				} else {
					i++;
				}
			}

			System.out.println(ans);
		} Scanner cin = new Scanner(is) Scanner cin = new Scanner(is) new Scanner(is) int n = cin.nextInt(); n cin.nextInt() cin.nextInt cin int[] a = new int[n]; a new int[n] n int ans = 0; ans 0 for (int i = 0; i < n; i++) {
				a[i] = cin.nextInt();
			} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
				a[i] = cin.nextInt();
			} {
				a[i] = cin.nextInt();
			} a[i] = cin.nextInt() a[i] a i cin.nextInt() cin.nextInt cin for (int i = 0; i < n;) {
				if (a[i] % 2 == 0) {
					a[i] /= 2;
					ans++;
				} else {
					i++;
				}
			} int i = 0; int i = 0; i 0 i < n i n {
				if (a[i] % 2 == 0) {
					a[i] /= 2;
					ans++;
				} else {
					i++;
				}
			} {
				if (a[i] % 2 == 0) {
					a[i] /= 2;
					ans++;
				} else {
					i++;
				}
			} if (a[i] % 2 == 0) {
					a[i] /= 2;
					ans++;
				} else {
					i++;
				} a[i] % 2 == 0 a[i] % 2 a[i] a i 2 0 {
					a[i] /= 2;
					ans++;
				} a[i] /= 2 a[i] a i 2 ans++ ans {
					i++;
				} i++ i System.out.println(ans) System.out.println System.out System System.out ans InputStream is is public class Main {
	public static void main(String[] args) throws Exception {
		InputStream is = System.in;
		solve(is);
	}

	private static void solve(InputStream is) {
		try (Scanner cin = new Scanner(is)) {
			int n = cin.nextInt();
			int[] a = new int[n];
			int ans = 0;

			for (int i = 0; i < n; i++) {
				a[i] = cin.nextInt();
			}

			for (int i = 0; i < n;) {
				if (a[i] % 2 == 0) {
					a[i] /= 2;
					ans++;
				} else {
					i++;
				}
			}

			System.out.println(ans);
		}
	}
} public class Main {
	public static void main(String[] args) throws Exception {
		InputStream is = System.in;
		solve(is);
	}

	private static void solve(InputStream is) {
		try (Scanner cin = new Scanner(is)) {
			int n = cin.nextInt();
			int[] a = new int[n];
			int ans = 0;

			for (int i = 0; i < n; i++) {
				a[i] = cin.nextInt();
			}

			for (int i = 0; i < n;) {
				if (a[i] % 2 == 0) {
					a[i] /= 2;
					ans++;
				} else {
					i++;
				}
			}

			System.out.println(ans);
		}
	}
} Main
import java.io.InputStream;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws Exception {
		InputStream is = System.in;
		solve(is);
	}

	private static void solve(InputStream is) {
		try (Scanner cin = new Scanner(is)) {
			int n = cin.nextInt();
			int[] a = new int[n];
			int ans = 0;

			for (int i = 0; i < n; i++) {
				a[i] = cin.nextInt();
			}

			for (int i = 0; i < n;) {
				if (a[i] % 2 == 0) {
					a[i] /= 2;
					ans++;
				} else {
					i++;
				}
			}

			System.out.println(ans);
		}
	}
}
