import java.util.*;

public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] array = new int[n];
		int count = 0;

		for (int i = 0; i < n; i++) {
			array[i] = scan.nextInt();
			while(array[i] % 2 == 0) {
				count++;
				array[i] = array[i] / 2;
			}
		}
		System.out.println(count);
	}
} import java.util.*; util.* java public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] array = new int[n];
		int count = 0;

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

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] array = new int[n];
		int count = 0;

		for (int i = 0; i < n; i++) {
			array[i] = scan.nextInt();
			while(array[i] % 2 == 0) {
				count++;
				array[i] = array[i] / 2;
			}
		}
		System.out.println(count);
	} main {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] array = new int[n];
		int count = 0;

		for (int i = 0; i < n; i++) {
			array[i] = scan.nextInt();
			while(array[i] % 2 == 0) {
				count++;
				array[i] = array[i] / 2;
			}
		}
		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[] array = new int[n]; array new int[n] n int count = 0; count 0 for (int i = 0; i < n; i++) {
			array[i] = scan.nextInt();
			while(array[i] % 2 == 0) {
				count++;
				array[i] = array[i] / 2;
			}
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			array[i] = scan.nextInt();
			while(array[i] % 2 == 0) {
				count++;
				array[i] = array[i] / 2;
			}
		} {
			array[i] = scan.nextInt();
			while(array[i] % 2 == 0) {
				count++;
				array[i] = array[i] / 2;
			}
		} array[i] = scan.nextInt() array[i] array i scan.nextInt() scan.nextInt scan while(array[i] % 2 == 0) {
				count++;
				array[i] = array[i] / 2;
			} array[i] % 2 == 0 array[i] % 2 array[i] array i 2 0 {
				count++;
				array[i] = array[i] / 2;
			} count++ count array[i] = array[i] / 2 array[i] array i array[i] / 2 array[i] array i 2 System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] array = new int[n];
		int count = 0;

		for (int i = 0; i < n; i++) {
			array[i] = scan.nextInt();
			while(array[i] % 2 == 0) {
				count++;
				array[i] = array[i] / 2;
			}
		}
		System.out.println(count);
	}
} public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] array = new int[n];
		int count = 0;

		for (int i = 0; i < n; i++) {
			array[i] = scan.nextInt();
			while(array[i] % 2 == 0) {
				count++;
				array[i] = array[i] / 2;
			}
		}
		System.out.println(count);
	}
} Main
import java.util.*;

public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] array = new int[n];
		int count = 0;

		for (int i = 0; i < n; i++) {
			array[i] = scan.nextInt();
			while(array[i] % 2 == 0) {
				count++;
				array[i] = array[i] / 2;
			}
		}
		System.out.println(count);
	}
}