import java.util.Scanner;


public class Main {

    public static Scanner scanner = new Scanner(System.in);
	public static void main(String[] args) {

		int t = scanner.nextInt();
		int result = 0;
		while(t-- > 0) {
			int n = scanner.nextInt();
			while((n & 1) == 0) {
				n = n >> 1;
				result++;
			}
		}
		System.out.println(result);
	}

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

    public static Scanner scanner = new Scanner(System.in);
	public static void main(String[] args) {

		int t = scanner.nextInt();
		int result = 0;
		while(t-- > 0) {
			int n = scanner.nextInt();
			while((n & 1) == 0) {
				n = n >> 1;
				result++;
			}
		}
		System.out.println(result);
	}

} Main public static Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) public static void main(String[] args) {

		int t = scanner.nextInt();
		int result = 0;
		while(t-- > 0) {
			int n = scanner.nextInt();
			while((n & 1) == 0) {
				n = n >> 1;
				result++;
			}
		}
		System.out.println(result);
	} main {

		int t = scanner.nextInt();
		int result = 0;
		while(t-- > 0) {
			int n = scanner.nextInt();
			while((n & 1) == 0) {
				n = n >> 1;
				result++;
			}
		}
		System.out.println(result);
	} int t = scanner.nextInt(); t scanner.nextInt() scanner.nextInt scanner int result = 0; result 0 while(t-- > 0) {
			int n = scanner.nextInt();
			while((n & 1) == 0) {
				n = n >> 1;
				result++;
			}
		} t-- > 0 t-- t 0 {
			int n = scanner.nextInt();
			while((n & 1) == 0) {
				n = n >> 1;
				result++;
			}
		} int n = scanner.nextInt(); n scanner.nextInt() scanner.nextInt scanner while((n & 1) == 0) {
				n = n >> 1;
				result++;
			} (n & 1) == 0 (n & 1) n 1 0 {
				n = n >> 1;
				result++;
			} n = n >> 1 n n >> 1 n 1 result++ result System.out.println(result) System.out.println System.out System System.out result String[] args args public class Main {

    public static Scanner scanner = new Scanner(System.in);
	public static void main(String[] args) {

		int t = scanner.nextInt();
		int result = 0;
		while(t-- > 0) {
			int n = scanner.nextInt();
			while((n & 1) == 0) {
				n = n >> 1;
				result++;
			}
		}
		System.out.println(result);
	}

} public class Main {

    public static Scanner scanner = new Scanner(System.in);
	public static void main(String[] args) {

		int t = scanner.nextInt();
		int result = 0;
		while(t-- > 0) {
			int n = scanner.nextInt();
			while((n & 1) == 0) {
				n = n >> 1;
				result++;
			}
		}
		System.out.println(result);
	}

} Main
import java.util.Scanner;


public class Main {

    public static Scanner scanner = new Scanner(System.in);
	public static void main(String[] args) {

		int t = scanner.nextInt();
		int result = 0;
		while(t-- > 0) {
			int n = scanner.nextInt();
			while((n & 1) == 0) {
				n = n >> 1;
				result++;
			}
		}
		System.out.println(result);
	}

}
