import java.util.Scanner;

/*
 * AtCoder Beginner Contest 100 C
 */
public class Main {

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int N = scanner.nextInt();

		int count_even = 0;
		for (int i = 0; i < N; i++) {
			int a = scanner.nextInt();
			while (a % 2 == 0) {
				a /= 2;
				count_even++;
			}
		}

		System.out.println(count_even);

	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int N = scanner.nextInt();

		int count_even = 0;
		for (int i = 0; i < N; i++) {
			int a = scanner.nextInt();
			while (a % 2 == 0) {
				a /= 2;
				count_even++;
			}
		}

		System.out.println(count_even);

	}

} Main public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int N = scanner.nextInt();

		int count_even = 0;
		for (int i = 0; i < N; i++) {
			int a = scanner.nextInt();
			while (a % 2 == 0) {
				a /= 2;
				count_even++;
			}
		}

		System.out.println(count_even);

	} main {

		Scanner scanner = new Scanner(System.in);

		int N = scanner.nextInt();

		int count_even = 0;
		for (int i = 0; i < N; i++) {
			int a = scanner.nextInt();
			while (a % 2 == 0) {
				a /= 2;
				count_even++;
			}
		}

		System.out.println(count_even);

	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int N = scanner.nextInt(); N scanner.nextInt() scanner.nextInt scanner int count_even = 0; count_even 0 for (int i = 0; i < N; i++) {
			int a = scanner.nextInt();
			while (a % 2 == 0) {
				a /= 2;
				count_even++;
			}
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			int a = scanner.nextInt();
			while (a % 2 == 0) {
				a /= 2;
				count_even++;
			}
		} {
			int a = scanner.nextInt();
			while (a % 2 == 0) {
				a /= 2;
				count_even++;
			}
		} int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner while (a % 2 == 0) {
				a /= 2;
				count_even++;
			} a % 2 == 0 a % 2 a 2 0 {
				a /= 2;
				count_even++;
			} a /= 2 a 2 count_even++ count_even System.out.println(count_even) System.out.println System.out System System.out count_even String[] args args public class Main {

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int N = scanner.nextInt();

		int count_even = 0;
		for (int i = 0; i < N; i++) {
			int a = scanner.nextInt();
			while (a % 2 == 0) {
				a /= 2;
				count_even++;
			}
		}

		System.out.println(count_even);

	}

} public class Main {

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int N = scanner.nextInt();

		int count_even = 0;
		for (int i = 0; i < N; i++) {
			int a = scanner.nextInt();
			while (a % 2 == 0) {
				a /= 2;
				count_even++;
			}
		}

		System.out.println(count_even);

	}

} Main
import java.util.Scanner;

/*
 * AtCoder Beginner Contest 100 C
 */
public class Main {

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int N = scanner.nextInt();

		int count_even = 0;
		for (int i = 0; i < N; i++) {
			int a = scanner.nextInt();
			while (a % 2 == 0) {
				a /= 2;
				count_even++;
			}
		}

		System.out.println(count_even);

	}

}