import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int n = scan.nextInt();
		int sum = 0;
		for(int i = 0; i  < n; i++) {
			int q = scan.nextInt();
			while (q % 2 == 0) {
				q /= 2;
				sum++;

			}
		}

		System.out.println(sum);
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int n = scan.nextInt();
		int sum = 0;
		for(int i = 0; i  < n; i++) {
			int q = scan.nextInt();
			while (q % 2 == 0) {
				q /= 2;
				sum++;

			}
		}

		System.out.println(sum);
	}
} Main public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int n = scan.nextInt();
		int sum = 0;
		for(int i = 0; i  < n; i++) {
			int q = scan.nextInt();
			while (q % 2 == 0) {
				q /= 2;
				sum++;

			}
		}

		System.out.println(sum);
	} main {

		Scanner scan = new Scanner(System.in);

		int n = scan.nextInt();
		int sum = 0;
		for(int i = 0; i  < n; i++) {
			int q = scan.nextInt();
			while (q % 2 == 0) {
				q /= 2;
				sum++;

			}
		}

		System.out.println(sum);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int sum = 0; sum 0 for(int i = 0; i  < n; i++) {
			int q = scan.nextInt();
			while (q % 2 == 0) {
				q /= 2;
				sum++;

			}
		} int i = 0; int i = 0; i 0 i  < n i n i++ i++ i {
			int q = scan.nextInt();
			while (q % 2 == 0) {
				q /= 2;
				sum++;

			}
		} {
			int q = scan.nextInt();
			while (q % 2 == 0) {
				q /= 2;
				sum++;

			}
		} int q = scan.nextInt(); q scan.nextInt() scan.nextInt scan while (q % 2 == 0) {
				q /= 2;
				sum++;

			} q % 2 == 0 q % 2 q 2 0 {
				q /= 2;
				sum++;

			} q /= 2 q 2 sum++ sum System.out.println(sum) System.out.println System.out System System.out sum String[] args args public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int n = scan.nextInt();
		int sum = 0;
		for(int i = 0; i  < n; i++) {
			int q = scan.nextInt();
			while (q % 2 == 0) {
				q /= 2;
				sum++;

			}
		}

		System.out.println(sum);
	}
} public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int n = scan.nextInt();
		int sum = 0;
		for(int i = 0; i  < n; i++) {
			int q = scan.nextInt();
			while (q % 2 == 0) {
				q /= 2;
				sum++;

			}
		}

		System.out.println(sum);
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int n = scan.nextInt();
		int sum = 0;
		for(int i = 0; i  < n; i++) {
			int q = scan.nextInt();
			while (q % 2 == 0) {
				q /= 2;
				sum++;

			}
		}

		System.out.println(sum);
	}
}