import java.util.Scanner;

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

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int count = 0;
		for (int i = 0; i < n; i++) {
			int a = scan.nextInt();
			while (a % 2 == 0) {
				count++;
				a = a / 2;
			}
		}
		scan.close();
		System.out.println(count);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	static public void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int count = 0;
		for (int i = 0; i < n; i++) {
			int a = scan.nextInt();
			while (a % 2 == 0) {
				count++;
				a = a / 2;
			}
		}
		scan.close();
		System.out.println(count);
	}
} Main static public void main(String[] args) {

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

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int count = 0;
		for (int i = 0; i < n; i++) {
			int a = scan.nextInt();
			while (a % 2 == 0) {
				count++;
				a = a / 2;
			}
		}
		scan.close();
		System.out.println(count);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int count = 0; count 0 for (int i = 0; i < n; i++) {
			int a = scan.nextInt();
			while (a % 2 == 0) {
				count++;
				a = a / 2;
			}
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			int a = scan.nextInt();
			while (a % 2 == 0) {
				count++;
				a = a / 2;
			}
		} {
			int a = scan.nextInt();
			while (a % 2 == 0) {
				count++;
				a = a / 2;
			}
		} int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan while (a % 2 == 0) {
				count++;
				a = a / 2;
			} a % 2 == 0 a % 2 a 2 0 {
				count++;
				a = a / 2;
			} count++ count a = a / 2 a a / 2 a 2 scan.close() scan.close scan System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {
	static public void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int count = 0;
		for (int i = 0; i < n; i++) {
			int a = scan.nextInt();
			while (a % 2 == 0) {
				count++;
				a = a / 2;
			}
		}
		scan.close();
		System.out.println(count);
	}
} public class Main {
	static public void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int count = 0;
		for (int i = 0; i < n; i++) {
			int a = scan.nextInt();
			while (a % 2 == 0) {
				count++;
				a = a / 2;
			}
		}
		scan.close();
		System.out.println(count);
	}
} Main
import java.util.Scanner;

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

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