import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		
		long[] map = new long[N];
		for (int i = 0; i < N; i++) {
			map[i] = sc.nextLong();
		}
		
		int ans = 0;
		for (int i = 0; i < N; i++) {
			long val = map[i];
			while(val % 2 == 0) {
				ans++;
				val /= 2;
			}
		}
		
		System.out.println(ans);
	}
	
} 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();
		
		long[] map = new long[N];
		for (int i = 0; i < N; i++) {
			map[i] = sc.nextLong();
		}
		
		int ans = 0;
		for (int i = 0; i < N; i++) {
			long val = map[i];
			while(val % 2 == 0) {
				ans++;
				val /= 2;
			}
		}
		
		System.out.println(ans);
	}
	
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		
		long[] map = new long[N];
		for (int i = 0; i < N; i++) {
			map[i] = sc.nextLong();
		}
		
		int ans = 0;
		for (int i = 0; i < N; i++) {
			long val = map[i];
			while(val % 2 == 0) {
				ans++;
				val /= 2;
			}
		}
		
		System.out.println(ans);
	} main {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		
		long[] map = new long[N];
		for (int i = 0; i < N; i++) {
			map[i] = sc.nextLong();
		}
		
		int ans = 0;
		for (int i = 0; i < N; i++) {
			long val = map[i];
			while(val % 2 == 0) {
				ans++;
				val /= 2;
			}
		}
		
		System.out.println(ans);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc long[] map = new long[N]; map new long[N] N for (int i = 0; i < N; i++) {
			map[i] = sc.nextLong();
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			map[i] = sc.nextLong();
		} {
			map[i] = sc.nextLong();
		} map[i] = sc.nextLong() map[i] map i sc.nextLong() sc.nextLong sc int ans = 0; ans 0 for (int i = 0; i < N; i++) {
			long val = map[i];
			while(val % 2 == 0) {
				ans++;
				val /= 2;
			}
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			long val = map[i];
			while(val % 2 == 0) {
				ans++;
				val /= 2;
			}
		} {
			long val = map[i];
			while(val % 2 == 0) {
				ans++;
				val /= 2;
			}
		} long val = map[i]; val map[i] map i while(val % 2 == 0) {
				ans++;
				val /= 2;
			} val % 2 == 0 val % 2 val 2 0 {
				ans++;
				val /= 2;
			} ans++ ans val /= 2 val 2 System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		
		long[] map = new long[N];
		for (int i = 0; i < N; i++) {
			map[i] = sc.nextLong();
		}
		
		int ans = 0;
		for (int i = 0; i < N; i++) {
			long val = map[i];
			while(val % 2 == 0) {
				ans++;
				val /= 2;
			}
		}
		
		System.out.println(ans);
	}
	
} public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		
		long[] map = new long[N];
		for (int i = 0; i < N; i++) {
			map[i] = sc.nextLong();
		}
		
		int ans = 0;
		for (int i = 0; i < N; i++) {
			long val = map[i];
			while(val % 2 == 0) {
				ans++;
				val /= 2;
			}
		}
		
		System.out.println(ans);
	}
	
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		
		long[] map = new long[N];
		for (int i = 0; i < N; i++) {
			map[i] = sc.nextLong();
		}
		
		int ans = 0;
		for (int i = 0; i < N; i++) {
			long val = map[i];
			while(val % 2 == 0) {
				ans++;
				val /= 2;
			}
		}
		
		System.out.println(ans);
	}
	
}
