import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String n = sc.nextLine();
		String a = sc.nextLine();
		
		String[] tmp = a.split(" ");
		
		List<Integer> as = new ArrayList<>();
		for(int k = 0; k<tmp.length; k++) {
			as.add(Integer.parseInt(tmp[k]));
		}
		
		int sum = 0;
		for(int i : as) {
			while(true) {
				if(i%2 == 0) {
					i = i/2;
					sum++;
				}
				else
					break;
			}
		}
		System.out.println(sum);
	}
} import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String n = sc.nextLine();
		String a = sc.nextLine();
		
		String[] tmp = a.split(" ");
		
		List<Integer> as = new ArrayList<>();
		for(int k = 0; k<tmp.length; k++) {
			as.add(Integer.parseInt(tmp[k]));
		}
		
		int sum = 0;
		for(int i : as) {
			while(true) {
				if(i%2 == 0) {
					i = i/2;
					sum++;
				}
				else
					break;
			}
		}
		System.out.println(sum);
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String n = sc.nextLine();
		String a = sc.nextLine();
		
		String[] tmp = a.split(" ");
		
		List<Integer> as = new ArrayList<>();
		for(int k = 0; k<tmp.length; k++) {
			as.add(Integer.parseInt(tmp[k]));
		}
		
		int sum = 0;
		for(int i : as) {
			while(true) {
				if(i%2 == 0) {
					i = i/2;
					sum++;
				}
				else
					break;
			}
		}
		System.out.println(sum);
	} main {
		Scanner sc = new Scanner(System.in);
		String n = sc.nextLine();
		String a = sc.nextLine();
		
		String[] tmp = a.split(" ");
		
		List<Integer> as = new ArrayList<>();
		for(int k = 0; k<tmp.length; k++) {
			as.add(Integer.parseInt(tmp[k]));
		}
		
		int sum = 0;
		for(int i : as) {
			while(true) {
				if(i%2 == 0) {
					i = i/2;
					sum++;
				}
				else
					break;
			}
		}
		System.out.println(sum);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String n = sc.nextLine(); n sc.nextLine() sc.nextLine sc String a = sc.nextLine(); a sc.nextLine() sc.nextLine sc String[] tmp = a.split(" "); tmp a.split(" ") a.split a " " List<Integer> as = new ArrayList<>(); as new ArrayList<>() for(int k = 0; k<tmp.length; k++) {
			as.add(Integer.parseInt(tmp[k]));
		} int k = 0; int k = 0; k 0 k<tmp.length k tmp.length tmp tmp.length k++ k++ k {
			as.add(Integer.parseInt(tmp[k]));
		} {
			as.add(Integer.parseInt(tmp[k]));
		} as.add(Integer.parseInt(tmp[k])) as.add as Integer.parseInt(tmp[k]) Integer.parseInt Integer tmp[k] tmp k int sum = 0; sum 0 for(int i : as) {
			while(true) {
				if(i%2 == 0) {
					i = i/2;
					sum++;
				}
				else
					break;
			}
		} int i as {
			while(true) {
				if(i%2 == 0) {
					i = i/2;
					sum++;
				}
				else
					break;
			}
		} {
			while(true) {
				if(i%2 == 0) {
					i = i/2;
					sum++;
				}
				else
					break;
			}
		} while(true) {
				if(i%2 == 0) {
					i = i/2;
					sum++;
				}
				else
					break;
			} true {
				if(i%2 == 0) {
					i = i/2;
					sum++;
				}
				else
					break;
			} if(i%2 == 0) {
					i = i/2;
					sum++;
				}
				else
					break; i%2 == 0 i%2 i 2 0 {
					i = i/2;
					sum++;
				} i = i/2 i i/2 i 2 sum++ sum break; System.out.println(sum) System.out.println System.out System System.out sum String[] args args public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String n = sc.nextLine();
		String a = sc.nextLine();
		
		String[] tmp = a.split(" ");
		
		List<Integer> as = new ArrayList<>();
		for(int k = 0; k<tmp.length; k++) {
			as.add(Integer.parseInt(tmp[k]));
		}
		
		int sum = 0;
		for(int i : as) {
			while(true) {
				if(i%2 == 0) {
					i = i/2;
					sum++;
				}
				else
					break;
			}
		}
		System.out.println(sum);
	}
} public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String n = sc.nextLine();
		String a = sc.nextLine();
		
		String[] tmp = a.split(" ");
		
		List<Integer> as = new ArrayList<>();
		for(int k = 0; k<tmp.length; k++) {
			as.add(Integer.parseInt(tmp[k]));
		}
		
		int sum = 0;
		for(int i : as) {
			while(true) {
				if(i%2 == 0) {
					i = i/2;
					sum++;
				}
				else
					break;
			}
		}
		System.out.println(sum);
	}
} Main
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String n = sc.nextLine();
		String a = sc.nextLine();
		
		String[] tmp = a.split(" ");
		
		List<Integer> as = new ArrayList<>();
		for(int k = 0; k<tmp.length; k++) {
			as.add(Integer.parseInt(tmp[k]));
		}
		
		int sum = 0;
		for(int i : as) {
			while(true) {
				if(i%2 == 0) {
					i = i/2;
					sum++;
				}
				else
					break;
			}
		}
		System.out.println(sum);
	}
}