import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);
		int n = Integer.parseInt(scanner.nextLine());
		String[] temp = scanner.nextLine().split(" ");
		int[] list = new int[temp.length];
		for(int i  = 0; i < temp.length; i++) {
			list[i] = Integer.parseInt(temp[i]);
		}
		int guu = 0;
		for(int i = 0; i < list.length; i++) {
			if(list[i] % 2 == 0) {
				while(list[i] % 2 == 0) {
				list[i] /= 2;
				guu++;
				}
			}
		}
		System.out.println(guu);
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);
		int n = Integer.parseInt(scanner.nextLine());
		String[] temp = scanner.nextLine().split(" ");
		int[] list = new int[temp.length];
		for(int i  = 0; i < temp.length; i++) {
			list[i] = Integer.parseInt(temp[i]);
		}
		int guu = 0;
		for(int i = 0; i < list.length; i++) {
			if(list[i] % 2 == 0) {
				while(list[i] % 2 == 0) {
				list[i] /= 2;
				guu++;
				}
			}
		}
		System.out.println(guu);
	}
} Main public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);
		int n = Integer.parseInt(scanner.nextLine());
		String[] temp = scanner.nextLine().split(" ");
		int[] list = new int[temp.length];
		for(int i  = 0; i < temp.length; i++) {
			list[i] = Integer.parseInt(temp[i]);
		}
		int guu = 0;
		for(int i = 0; i < list.length; i++) {
			if(list[i] % 2 == 0) {
				while(list[i] % 2 == 0) {
				list[i] /= 2;
				guu++;
				}
			}
		}
		System.out.println(guu);
	} main {

		Scanner scanner = new Scanner(System.in);
		int n = Integer.parseInt(scanner.nextLine());
		String[] temp = scanner.nextLine().split(" ");
		int[] list = new int[temp.length];
		for(int i  = 0; i < temp.length; i++) {
			list[i] = Integer.parseInt(temp[i]);
		}
		int guu = 0;
		for(int i = 0; i < list.length; i++) {
			if(list[i] % 2 == 0) {
				while(list[i] % 2 == 0) {
				list[i] /= 2;
				guu++;
				}
			}
		}
		System.out.println(guu);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int n = Integer.parseInt(scanner.nextLine()); n Integer.parseInt(scanner.nextLine()) Integer.parseInt Integer scanner.nextLine() scanner.nextLine scanner String[] temp = scanner.nextLine().split(" "); temp scanner.nextLine().split(" ") scanner.nextLine().split scanner.nextLine() scanner.nextLine scanner " " int[] list = new int[temp.length]; list new int[temp.length] temp.length temp temp.length for(int i  = 0; i < temp.length; i++) {
			list[i] = Integer.parseInt(temp[i]);
		} int i  = 0; int i  = 0; i 0 i < temp.length i temp.length temp temp.length i++ i++ i {
			list[i] = Integer.parseInt(temp[i]);
		} {
			list[i] = Integer.parseInt(temp[i]);
		} list[i] = Integer.parseInt(temp[i]) list[i] list i Integer.parseInt(temp[i]) Integer.parseInt Integer temp[i] temp i int guu = 0; guu 0 for(int i = 0; i < list.length; i++) {
			if(list[i] % 2 == 0) {
				while(list[i] % 2 == 0) {
				list[i] /= 2;
				guu++;
				}
			}
		} int i = 0; int i = 0; i 0 i < list.length i list.length list list.length i++ i++ i {
			if(list[i] % 2 == 0) {
				while(list[i] % 2 == 0) {
				list[i] /= 2;
				guu++;
				}
			}
		} {
			if(list[i] % 2 == 0) {
				while(list[i] % 2 == 0) {
				list[i] /= 2;
				guu++;
				}
			}
		} if(list[i] % 2 == 0) {
				while(list[i] % 2 == 0) {
				list[i] /= 2;
				guu++;
				}
			} list[i] % 2 == 0 list[i] % 2 list[i] list i 2 0 {
				while(list[i] % 2 == 0) {
				list[i] /= 2;
				guu++;
				}
			} while(list[i] % 2 == 0) {
				list[i] /= 2;
				guu++;
				} list[i] % 2 == 0 list[i] % 2 list[i] list i 2 0 {
				list[i] /= 2;
				guu++;
				} list[i] /= 2 list[i] list i 2 guu++ guu System.out.println(guu) System.out.println System.out System System.out guu String[] args args public class Main {

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);
		int n = Integer.parseInt(scanner.nextLine());
		String[] temp = scanner.nextLine().split(" ");
		int[] list = new int[temp.length];
		for(int i  = 0; i < temp.length; i++) {
			list[i] = Integer.parseInt(temp[i]);
		}
		int guu = 0;
		for(int i = 0; i < list.length; i++) {
			if(list[i] % 2 == 0) {
				while(list[i] % 2 == 0) {
				list[i] /= 2;
				guu++;
				}
			}
		}
		System.out.println(guu);
	}
} public class Main {

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);
		int n = Integer.parseInt(scanner.nextLine());
		String[] temp = scanner.nextLine().split(" ");
		int[] list = new int[temp.length];
		for(int i  = 0; i < temp.length; i++) {
			list[i] = Integer.parseInt(temp[i]);
		}
		int guu = 0;
		for(int i = 0; i < list.length; i++) {
			if(list[i] % 2 == 0) {
				while(list[i] % 2 == 0) {
				list[i] /= 2;
				guu++;
				}
			}
		}
		System.out.println(guu);
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);
		int n = Integer.parseInt(scanner.nextLine());
		String[] temp = scanner.nextLine().split(" ");
		int[] list = new int[temp.length];
		for(int i  = 0; i < temp.length; i++) {
			list[i] = Integer.parseInt(temp[i]);
		}
		int guu = 0;
		for(int i = 0; i < list.length; i++) {
			if(list[i] % 2 == 0) {
				while(list[i] % 2 == 0) {
				list[i] /= 2;
				guu++;
				}
			}
		}
		System.out.println(guu);
	}
}
