import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;

/*Atcoder用
 * 		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] tmp = br.readLine().split(" ");
		int a = Integer.parseInt(tmp[0]);
		int b = Integer.parseInt(tmp[1]);
		int c = Integer.parseInt(tmp[2]);


		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String get = br.readLine();
		char[] s = get.toCharArray();
		for(char c:s)System.out.println(c);

		List<Integer> ls = new ArrayList<Integer>();
		String[] tmp = br.readLine().split(" ");
		for (int n = 0; n < N; n++) {
			ls.add(Integer.parseInt(tmp[n]));
		}
 */

public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] tmp = br.readLine().split(" ");
		int N = Integer.parseInt(tmp[0]);

		List<Integer> ls = new ArrayList<Integer>();
		String[] foo = br.readLine().split(" ");
		for (int n = 0; n < N; n++) {
			ls.add(Integer.parseInt(foo[n]));
		}

		int count = 0;

		for(int i = 0;i<ls.size();i++){
			while(true){
				if(ls.get(i) % 2 == 0){
					count++;
					ls.set(i, ls.get(i)/2);
				}else break;
			}
		}

		System.out.println(count);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] tmp = br.readLine().split(" ");
		int N = Integer.parseInt(tmp[0]);

		List<Integer> ls = new ArrayList<Integer>();
		String[] foo = br.readLine().split(" ");
		for (int n = 0; n < N; n++) {
			ls.add(Integer.parseInt(foo[n]));
		}

		int count = 0;

		for(int i = 0;i<ls.size();i++){
			while(true){
				if(ls.get(i) % 2 == 0){
					count++;
					ls.set(i, ls.get(i)/2);
				}else break;
			}
		}

		System.out.println(count);
	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] tmp = br.readLine().split(" ");
		int N = Integer.parseInt(tmp[0]);

		List<Integer> ls = new ArrayList<Integer>();
		String[] foo = br.readLine().split(" ");
		for (int n = 0; n < N; n++) {
			ls.add(Integer.parseInt(foo[n]));
		}

		int count = 0;

		for(int i = 0;i<ls.size();i++){
			while(true){
				if(ls.get(i) % 2 == 0){
					count++;
					ls.set(i, ls.get(i)/2);
				}else break;
			}
		}

		System.out.println(count);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] tmp = br.readLine().split(" ");
		int N = Integer.parseInt(tmp[0]);

		List<Integer> ls = new ArrayList<Integer>();
		String[] foo = br.readLine().split(" ");
		for (int n = 0; n < N; n++) {
			ls.add(Integer.parseInt(foo[n]));
		}

		int count = 0;

		for(int i = 0;i<ls.size();i++){
			while(true){
				if(ls.get(i) % 2 == 0){
					count++;
					ls.set(i, ls.get(i)/2);
				}else break;
			}
		}

		System.out.println(count);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] tmp = br.readLine().split(" "); tmp br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int N = Integer.parseInt(tmp[0]); N Integer.parseInt(tmp[0]) Integer.parseInt Integer tmp[0] tmp 0 List<Integer> ls = new ArrayList<Integer>(); ls new ArrayList<Integer>() String[] foo = br.readLine().split(" "); foo br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " for (int n = 0; n < N; n++) {
			ls.add(Integer.parseInt(foo[n]));
		} int n = 0; int n = 0; n 0 n < N n N n++ n++ n {
			ls.add(Integer.parseInt(foo[n]));
		} {
			ls.add(Integer.parseInt(foo[n]));
		} ls.add(Integer.parseInt(foo[n])) ls.add ls Integer.parseInt(foo[n]) Integer.parseInt Integer foo[n] foo n int count = 0; count 0 for(int i = 0;i<ls.size();i++){
			while(true){
				if(ls.get(i) % 2 == 0){
					count++;
					ls.set(i, ls.get(i)/2);
				}else break;
			}
		} int i = 0; int i = 0; i 0 i<ls.size() i ls.size() ls.size ls i++ i++ i {
			while(true){
				if(ls.get(i) % 2 == 0){
					count++;
					ls.set(i, ls.get(i)/2);
				}else break;
			}
		} {
			while(true){
				if(ls.get(i) % 2 == 0){
					count++;
					ls.set(i, ls.get(i)/2);
				}else break;
			}
		} while(true){
				if(ls.get(i) % 2 == 0){
					count++;
					ls.set(i, ls.get(i)/2);
				}else break;
			} true {
				if(ls.get(i) % 2 == 0){
					count++;
					ls.set(i, ls.get(i)/2);
				}else break;
			} if(ls.get(i) % 2 == 0){
					count++;
					ls.set(i, ls.get(i)/2);
				}else break; ls.get(i) % 2 == 0 ls.get(i) % 2 ls.get(i) ls.get ls i 2 0 {
					count++;
					ls.set(i, ls.get(i)/2);
				} count++ count ls.set(i, ls.get(i)/2) ls.set ls i ls.get(i)/2 ls.get(i) ls.get ls i 2 break; 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) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] tmp = br.readLine().split(" ");
		int N = Integer.parseInt(tmp[0]);

		List<Integer> ls = new ArrayList<Integer>();
		String[] foo = br.readLine().split(" ");
		for (int n = 0; n < N; n++) {
			ls.add(Integer.parseInt(foo[n]));
		}

		int count = 0;

		for(int i = 0;i<ls.size();i++){
			while(true){
				if(ls.get(i) % 2 == 0){
					count++;
					ls.set(i, ls.get(i)/2);
				}else break;
			}
		}

		System.out.println(count);
	}
} public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] tmp = br.readLine().split(" ");
		int N = Integer.parseInt(tmp[0]);

		List<Integer> ls = new ArrayList<Integer>();
		String[] foo = br.readLine().split(" ");
		for (int n = 0; n < N; n++) {
			ls.add(Integer.parseInt(foo[n]));
		}

		int count = 0;

		for(int i = 0;i<ls.size();i++){
			while(true){
				if(ls.get(i) % 2 == 0){
					count++;
					ls.set(i, ls.get(i)/2);
				}else break;
			}
		}

		System.out.println(count);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;

/*Atcoder用
 * 		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] tmp = br.readLine().split(" ");
		int a = Integer.parseInt(tmp[0]);
		int b = Integer.parseInt(tmp[1]);
		int c = Integer.parseInt(tmp[2]);


		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String get = br.readLine();
		char[] s = get.toCharArray();
		for(char c:s)System.out.println(c);

		List<Integer> ls = new ArrayList<Integer>();
		String[] tmp = br.readLine().split(" ");
		for (int n = 0; n < N; n++) {
			ls.add(Integer.parseInt(tmp[n]));
		}
 */

public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] tmp = br.readLine().split(" ");
		int N = Integer.parseInt(tmp[0]);

		List<Integer> ls = new ArrayList<Integer>();
		String[] foo = br.readLine().split(" ");
		for (int n = 0; n < N; n++) {
			ls.add(Integer.parseInt(foo[n]));
		}

		int count = 0;

		for(int i = 0;i<ls.size();i++){
			while(true){
				if(ls.get(i) % 2 == 0){
					count++;
					ls.set(i, ls.get(i)/2);
				}else break;
			}
		}

		System.out.println(count);
	}
}