import java.io.*;

public class Main {

	final static long MOD = 1000000007;
	public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String W = in.readLine();

		String[] Ws = W.split(" ");
		long N = Long.parseLong(Ws[0]);

		W = in.readLine();
		Ws = W.split(" ");
		long[] a = new long[Ws.length];
		long even = 0;
		for (int i = 0; i < Ws.length; i++) {
			a[i] = Long.parseLong(Ws[i]);
			if(a[i]%2==0){
				long k=a[i];
				while(k%2==0){
					k=k/2;
					even++;
				}
			}
		}

		System.out.println(even);
	}
} import java.io.*; io.* java public class Main {

	final static long MOD = 1000000007;
	public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String W = in.readLine();

		String[] Ws = W.split(" ");
		long N = Long.parseLong(Ws[0]);

		W = in.readLine();
		Ws = W.split(" ");
		long[] a = new long[Ws.length];
		long even = 0;
		for (int i = 0; i < Ws.length; i++) {
			a[i] = Long.parseLong(Ws[i]);
			if(a[i]%2==0){
				long k=a[i];
				while(k%2==0){
					k=k/2;
					even++;
				}
			}
		}

		System.out.println(even);
	}
} Main final static long MOD = 1000000007; MOD 1000000007 public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String W = in.readLine();

		String[] Ws = W.split(" ");
		long N = Long.parseLong(Ws[0]);

		W = in.readLine();
		Ws = W.split(" ");
		long[] a = new long[Ws.length];
		long even = 0;
		for (int i = 0; i < Ws.length; i++) {
			a[i] = Long.parseLong(Ws[i]);
			if(a[i]%2==0){
				long k=a[i];
				while(k%2==0){
					k=k/2;
					even++;
				}
			}
		}

		System.out.println(even);
	} main {
		// TODO 自動生成されたメソッド・スタブ

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String W = in.readLine();

		String[] Ws = W.split(" ");
		long N = Long.parseLong(Ws[0]);

		W = in.readLine();
		Ws = W.split(" ");
		long[] a = new long[Ws.length];
		long even = 0;
		for (int i = 0; i < Ws.length; i++) {
			a[i] = Long.parseLong(Ws[i]);
			if(a[i]%2==0){
				long k=a[i];
				while(k%2==0){
					k=k/2;
					even++;
				}
			}
		}

		System.out.println(even);
	} BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) String W = in.readLine(); W in.readLine() in.readLine in String[] Ws = W.split(" "); Ws W.split(" ") W.split W " " long N = Long.parseLong(Ws[0]); N Long.parseLong(Ws[0]) Long.parseLong Long Ws[0] Ws 0 W = in.readLine() W in.readLine() in.readLine in Ws = W.split(" ") Ws W.split(" ") W.split W " " long[] a = new long[Ws.length]; a new long[Ws.length] Ws.length Ws Ws.length long even = 0; even 0 for (int i = 0; i < Ws.length; i++) {
			a[i] = Long.parseLong(Ws[i]);
			if(a[i]%2==0){
				long k=a[i];
				while(k%2==0){
					k=k/2;
					even++;
				}
			}
		} int i = 0; int i = 0; i 0 i < Ws.length i Ws.length Ws Ws.length i++ i++ i {
			a[i] = Long.parseLong(Ws[i]);
			if(a[i]%2==0){
				long k=a[i];
				while(k%2==0){
					k=k/2;
					even++;
				}
			}
		} {
			a[i] = Long.parseLong(Ws[i]);
			if(a[i]%2==0){
				long k=a[i];
				while(k%2==0){
					k=k/2;
					even++;
				}
			}
		} a[i] = Long.parseLong(Ws[i]) a[i] a i Long.parseLong(Ws[i]) Long.parseLong Long Ws[i] Ws i if(a[i]%2==0){
				long k=a[i];
				while(k%2==0){
					k=k/2;
					even++;
				}
			} a[i]%2==0 a[i]%2 a[i] a i 2 0 {
				long k=a[i];
				while(k%2==0){
					k=k/2;
					even++;
				}
			} long k=a[i]; k a[i] a i while(k%2==0){
					k=k/2;
					even++;
				} k%2==0 k%2 k 2 0 {
					k=k/2;
					even++;
				} k=k/2 k k/2 k 2 even++ even System.out.println(even) System.out.println System.out System System.out even String[] args args public class Main {

	final static long MOD = 1000000007;
	public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String W = in.readLine();

		String[] Ws = W.split(" ");
		long N = Long.parseLong(Ws[0]);

		W = in.readLine();
		Ws = W.split(" ");
		long[] a = new long[Ws.length];
		long even = 0;
		for (int i = 0; i < Ws.length; i++) {
			a[i] = Long.parseLong(Ws[i]);
			if(a[i]%2==0){
				long k=a[i];
				while(k%2==0){
					k=k/2;
					even++;
				}
			}
		}

		System.out.println(even);
	}
} public class Main {

	final static long MOD = 1000000007;
	public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String W = in.readLine();

		String[] Ws = W.split(" ");
		long N = Long.parseLong(Ws[0]);

		W = in.readLine();
		Ws = W.split(" ");
		long[] a = new long[Ws.length];
		long even = 0;
		for (int i = 0; i < Ws.length; i++) {
			a[i] = Long.parseLong(Ws[i]);
			if(a[i]%2==0){
				long k=a[i];
				while(k%2==0){
					k=k/2;
					even++;
				}
			}
		}

		System.out.println(even);
	}
} Main
import java.io.*;

public class Main {

	final static long MOD = 1000000007;
	public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String W = in.readLine();

		String[] Ws = W.split(" ");
		long N = Long.parseLong(Ws[0]);

		W = in.readLine();
		Ws = W.split(" ");
		long[] a = new long[Ws.length];
		long even = 0;
		for (int i = 0; i < Ws.length; i++) {
			a[i] = Long.parseLong(Ws[i]);
			if(a[i]%2==0){
				long k=a[i];
				while(k%2==0){
					k=k/2;
					even++;
				}
			}
		}

		System.out.println(even);
	}
}
