import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int length = sc.nextInt();
		int counter = 0;
		for (int i = 0; i < length; i++) {
			int number = sc.nextInt();
			while (number % 2 == 0) {
				number= number/2;
				counter += 1;
			}
		}
		System.out.println(counter);
	}

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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int length = sc.nextInt();
		int counter = 0;
		for (int i = 0; i < length; i++) {
			int number = sc.nextInt();
			while (number % 2 == 0) {
				number= number/2;
				counter += 1;
			}
		}
		System.out.println(counter);
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int length = sc.nextInt();
		int counter = 0;
		for (int i = 0; i < length; i++) {
			int number = sc.nextInt();
			while (number % 2 == 0) {
				number= number/2;
				counter += 1;
			}
		}
		System.out.println(counter);
	} main {
		Scanner sc = new Scanner(System.in);
		int length = sc.nextInt();
		int counter = 0;
		for (int i = 0; i < length; i++) {
			int number = sc.nextInt();
			while (number % 2 == 0) {
				number= number/2;
				counter += 1;
			}
		}
		System.out.println(counter);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int length = sc.nextInt(); length sc.nextInt() sc.nextInt sc int counter = 0; counter 0 for (int i = 0; i < length; i++) {
			int number = sc.nextInt();
			while (number % 2 == 0) {
				number= number/2;
				counter += 1;
			}
		} int i = 0; int i = 0; i 0 i < length i length i++ i++ i {
			int number = sc.nextInt();
			while (number % 2 == 0) {
				number= number/2;
				counter += 1;
			}
		} {
			int number = sc.nextInt();
			while (number % 2 == 0) {
				number= number/2;
				counter += 1;
			}
		} int number = sc.nextInt(); number sc.nextInt() sc.nextInt sc while (number % 2 == 0) {
				number= number/2;
				counter += 1;
			} number % 2 == 0 number % 2 number 2 0 {
				number= number/2;
				counter += 1;
			} number= number/2 number number/2 number 2 counter += 1 counter 1 System.out.println(counter) System.out.println System.out System System.out counter String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int length = sc.nextInt();
		int counter = 0;
		for (int i = 0; i < length; i++) {
			int number = sc.nextInt();
			while (number % 2 == 0) {
				number= number/2;
				counter += 1;
			}
		}
		System.out.println(counter);
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int length = sc.nextInt();
		int counter = 0;
		for (int i = 0; i < length; i++) {
			int number = sc.nextInt();
			while (number % 2 == 0) {
				number= number/2;
				counter += 1;
			}
		}
		System.out.println(counter);
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int length = sc.nextInt();
		int counter = 0;
		for (int i = 0; i < length; i++) {
			int number = sc.nextInt();
			while (number % 2 == 0) {
				number= number/2;
				counter += 1;
			}
		}
		System.out.println(counter);
	}

}