import java.util.Scanner;

public class Main {

	static Scanner scan = new Scanner(System.in);

	public static void main(String[] args) {
		int n = scan.nextInt();
		int sum = 0;

		for(int i = 0; i < n; i++) {
			sum += a(scan.nextInt());
		}

		System.out.println(sum);
	}

	static int a(int n) {
		int re = 0;
		while(n % 2 == 0) {
			n /= 2;
			re++;
		}
		return re;
	}

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

	static Scanner scan = new Scanner(System.in);

	public static void main(String[] args) {
		int n = scan.nextInt();
		int sum = 0;

		for(int i = 0; i < n; i++) {
			sum += a(scan.nextInt());
		}

		System.out.println(sum);
	}

	static int a(int n) {
		int re = 0;
		while(n % 2 == 0) {
			n /= 2;
			re++;
		}
		return re;
	}

} Main static Scanner scan = new Scanner(System.in); scan new Scanner(System.in) public static void main(String[] args) {
		int n = scan.nextInt();
		int sum = 0;

		for(int i = 0; i < n; i++) {
			sum += a(scan.nextInt());
		}

		System.out.println(sum);
	} main {
		int n = scan.nextInt();
		int sum = 0;

		for(int i = 0; i < n; i++) {
			sum += a(scan.nextInt());
		}

		System.out.println(sum);
	} int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int sum = 0; sum 0 for(int i = 0; i < n; i++) {
			sum += a(scan.nextInt());
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			sum += a(scan.nextInt());
		} {
			sum += a(scan.nextInt());
		} sum += a(scan.nextInt()) sum a(scan.nextInt()) a scan.nextInt() scan.nextInt scan System.out.println(sum) System.out.println System.out System System.out sum String[] args args static int a(int n) {
		int re = 0;
		while(n % 2 == 0) {
			n /= 2;
			re++;
		}
		return re;
	} a {
		int re = 0;
		while(n % 2 == 0) {
			n /= 2;
			re++;
		}
		return re;
	} int re = 0; re 0 while(n % 2 == 0) {
			n /= 2;
			re++;
		} n % 2 == 0 n % 2 n 2 0 {
			n /= 2;
			re++;
		} n /= 2 n 2 re++ re return re; re int n n public class Main {

	static Scanner scan = new Scanner(System.in);

	public static void main(String[] args) {
		int n = scan.nextInt();
		int sum = 0;

		for(int i = 0; i < n; i++) {
			sum += a(scan.nextInt());
		}

		System.out.println(sum);
	}

	static int a(int n) {
		int re = 0;
		while(n % 2 == 0) {
			n /= 2;
			re++;
		}
		return re;
	}

} public class Main {

	static Scanner scan = new Scanner(System.in);

	public static void main(String[] args) {
		int n = scan.nextInt();
		int sum = 0;

		for(int i = 0; i < n; i++) {
			sum += a(scan.nextInt());
		}

		System.out.println(sum);
	}

	static int a(int n) {
		int re = 0;
		while(n % 2 == 0) {
			n /= 2;
			re++;
		}
		return re;
	}

} Main
import java.util.Scanner;

public class Main {

	static Scanner scan = new Scanner(System.in);

	public static void main(String[] args) {
		int n = scan.nextInt();
		int sum = 0;

		for(int i = 0; i < n; i++) {
			sum += a(scan.nextInt());
		}

		System.out.println(sum);
	}

	static int a(int n) {
		int re = 0;
		while(n % 2 == 0) {
			n /= 2;
			re++;
		}
		return re;
	}

}
