import java.util.Scanner;

public class Main {

	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();

		int[] a = new int[N];
		int sum_log2 = 0;
		for(int i=0;i<N;i++) {
			a[i] =sc.nextInt();
			sum_log2 += log2(a[i]);
		}

		System.out.println(sum_log2);
	}

	public static int log2(int a) {

		if(a % 2 != 0) {
			return 0;
		}else {
			return 1 + log2(a/2);
		}
	}

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

	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();

		int[] a = new int[N];
		int sum_log2 = 0;
		for(int i=0;i<N;i++) {
			a[i] =sc.nextInt();
			sum_log2 += log2(a[i]);
		}

		System.out.println(sum_log2);
	}

	public static int log2(int a) {

		if(a % 2 != 0) {
			return 0;
		}else {
			return 1 + log2(a/2);
		}
	}

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

		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();

		int[] a = new int[N];
		int sum_log2 = 0;
		for(int i=0;i<N;i++) {
			a[i] =sc.nextInt();
			sum_log2 += log2(a[i]);
		}

		System.out.println(sum_log2);
	} main {

		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();

		int[] a = new int[N];
		int sum_log2 = 0;
		for(int i=0;i<N;i++) {
			a[i] =sc.nextInt();
			sum_log2 += log2(a[i]);
		}

		System.out.println(sum_log2);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int[] a = new int[N]; a new int[N] N int sum_log2 = 0; sum_log2 0 for(int i=0;i<N;i++) {
			a[i] =sc.nextInt();
			sum_log2 += log2(a[i]);
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			a[i] =sc.nextInt();
			sum_log2 += log2(a[i]);
		} {
			a[i] =sc.nextInt();
			sum_log2 += log2(a[i]);
		} a[i] =sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc sum_log2 += log2(a[i]) sum_log2 log2(a[i]) log2 a[i] a i System.out.println(sum_log2) System.out.println System.out System System.out sum_log2 String args[] args public static int log2(int a) {

		if(a % 2 != 0) {
			return 0;
		}else {
			return 1 + log2(a/2);
		}
	} log2 {

		if(a % 2 != 0) {
			return 0;
		}else {
			return 1 + log2(a/2);
		}
	} if(a % 2 != 0) {
			return 0;
		}else {
			return 1 + log2(a/2);
		} a % 2 != 0 a % 2 a 2 0 {
			return 0;
		} return 0; 0 {
			return 1 + log2(a/2);
		} return 1 + log2(a/2); 1 + log2(a/2) 1 log2(a/2) log2 a/2 a 2 int a a public class Main {

	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();

		int[] a = new int[N];
		int sum_log2 = 0;
		for(int i=0;i<N;i++) {
			a[i] =sc.nextInt();
			sum_log2 += log2(a[i]);
		}

		System.out.println(sum_log2);
	}

	public static int log2(int a) {

		if(a % 2 != 0) {
			return 0;
		}else {
			return 1 + log2(a/2);
		}
	}

} public class Main {

	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();

		int[] a = new int[N];
		int sum_log2 = 0;
		for(int i=0;i<N;i++) {
			a[i] =sc.nextInt();
			sum_log2 += log2(a[i]);
		}

		System.out.println(sum_log2);
	}

	public static int log2(int a) {

		if(a % 2 != 0) {
			return 0;
		}else {
			return 1 + log2(a/2);
		}
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String args[]) {

		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();

		int[] a = new int[N];
		int sum_log2 = 0;
		for(int i=0;i<N;i++) {
			a[i] =sc.nextInt();
			sum_log2 += log2(a[i]);
		}

		System.out.println(sum_log2);
	}

	public static int log2(int a) {

		if(a % 2 != 0) {
			return 0;
		}else {
			return 1 + log2(a/2);
		}
	}

}
