import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner((System.in));
		int n = sc.nextInt();
		int[] a = new int[n];
		int ans = 0, o = 0, e = 0;

		for (int i = 0; i < n; i++) {
			int x = sc.nextInt();
			if (x % 2 == 0) {
				a[e] = x;
				e++;
			} else {
				o++;
			}
		}
		if (o != n) {
			for (int i = 0; i < e; i++) {
				while (a[i] % 2 == 0) {
					ans++;
					a[i] = a[i] / 2;
				}
			}
		}
		
		System.out.println(ans);

		sc.close();
	}
} 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();
		int[] a = new int[n];
		int ans = 0, o = 0, e = 0;

		for (int i = 0; i < n; i++) {
			int x = sc.nextInt();
			if (x % 2 == 0) {
				a[e] = x;
				e++;
			} else {
				o++;
			}
		}
		if (o != n) {
			for (int i = 0; i < e; i++) {
				while (a[i] % 2 == 0) {
					ans++;
					a[i] = a[i] / 2;
				}
			}
		}
		
		System.out.println(ans);

		sc.close();
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner((System.in));
		int n = sc.nextInt();
		int[] a = new int[n];
		int ans = 0, o = 0, e = 0;

		for (int i = 0; i < n; i++) {
			int x = sc.nextInt();
			if (x % 2 == 0) {
				a[e] = x;
				e++;
			} else {
				o++;
			}
		}
		if (o != n) {
			for (int i = 0; i < e; i++) {
				while (a[i] % 2 == 0) {
					ans++;
					a[i] = a[i] / 2;
				}
			}
		}
		
		System.out.println(ans);

		sc.close();
	} main {
		Scanner sc = new Scanner((System.in));
		int n = sc.nextInt();
		int[] a = new int[n];
		int ans = 0, o = 0, e = 0;

		for (int i = 0; i < n; i++) {
			int x = sc.nextInt();
			if (x % 2 == 0) {
				a[e] = x;
				e++;
			} else {
				o++;
			}
		}
		if (o != n) {
			for (int i = 0; i < e; i++) {
				while (a[i] % 2 == 0) {
					ans++;
					a[i] = a[i] / 2;
				}
			}
		}
		
		System.out.println(ans);

		sc.close();
	} Scanner sc = new Scanner((System.in)); sc new Scanner((System.in)) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int[] a = new int[n]; a new int[n] n int ans = 0 ans 0 o = 0 o 0 e = 0; e 0 for (int i = 0; i < n; i++) {
			int x = sc.nextInt();
			if (x % 2 == 0) {
				a[e] = x;
				e++;
			} else {
				o++;
			}
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			int x = sc.nextInt();
			if (x % 2 == 0) {
				a[e] = x;
				e++;
			} else {
				o++;
			}
		} {
			int x = sc.nextInt();
			if (x % 2 == 0) {
				a[e] = x;
				e++;
			} else {
				o++;
			}
		} int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc if (x % 2 == 0) {
				a[e] = x;
				e++;
			} else {
				o++;
			} x % 2 == 0 x % 2 x 2 0 {
				a[e] = x;
				e++;
			} a[e] = x a[e] a e x e++ e {
				o++;
			} o++ o if (o != n) {
			for (int i = 0; i < e; i++) {
				while (a[i] % 2 == 0) {
					ans++;
					a[i] = a[i] / 2;
				}
			}
		} o != n o n {
			for (int i = 0; i < e; i++) {
				while (a[i] % 2 == 0) {
					ans++;
					a[i] = a[i] / 2;
				}
			}
		} for (int i = 0; i < e; i++) {
				while (a[i] % 2 == 0) {
					ans++;
					a[i] = a[i] / 2;
				}
			} int i = 0; int i = 0; i 0 i < e i e i++ i++ i {
				while (a[i] % 2 == 0) {
					ans++;
					a[i] = a[i] / 2;
				}
			} {
				while (a[i] % 2 == 0) {
					ans++;
					a[i] = a[i] / 2;
				}
			} while (a[i] % 2 == 0) {
					ans++;
					a[i] = a[i] / 2;
				} a[i] % 2 == 0 a[i] % 2 a[i] a i 2 0 {
					ans++;
					a[i] = a[i] / 2;
				} ans++ ans a[i] = a[i] / 2 a[i] a i a[i] / 2 a[i] a i 2 System.out.println(ans) System.out.println System.out System System.out ans sc.close() sc.close sc String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner((System.in));
		int n = sc.nextInt();
		int[] a = new int[n];
		int ans = 0, o = 0, e = 0;

		for (int i = 0; i < n; i++) {
			int x = sc.nextInt();
			if (x % 2 == 0) {
				a[e] = x;
				e++;
			} else {
				o++;
			}
		}
		if (o != n) {
			for (int i = 0; i < e; i++) {
				while (a[i] % 2 == 0) {
					ans++;
					a[i] = a[i] / 2;
				}
			}
		}
		
		System.out.println(ans);

		sc.close();
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner((System.in));
		int n = sc.nextInt();
		int[] a = new int[n];
		int ans = 0, o = 0, e = 0;

		for (int i = 0; i < n; i++) {
			int x = sc.nextInt();
			if (x % 2 == 0) {
				a[e] = x;
				e++;
			} else {
				o++;
			}
		}
		if (o != n) {
			for (int i = 0; i < e; i++) {
				while (a[i] % 2 == 0) {
					ans++;
					a[i] = a[i] / 2;
				}
			}
		}
		
		System.out.println(ans);

		sc.close();
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner((System.in));
		int n = sc.nextInt();
		int[] a = new int[n];
		int ans = 0, o = 0, e = 0;

		for (int i = 0; i < n; i++) {
			int x = sc.nextInt();
			if (x % 2 == 0) {
				a[e] = x;
				e++;
			} else {
				o++;
			}
		}
		if (o != n) {
			for (int i = 0; i < e; i++) {
				while (a[i] % 2 == 0) {
					ans++;
					a[i] = a[i] / 2;
				}
			}
		}
		
		System.out.println(ans);

		sc.close();
	}
}
