import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		new Main().solve(new Scanner(System.in));
	}
	
	public void solve(Scanner sc) {
		int n = Integer.parseInt(sc.next());
		
		int answer = 0;
		for(int i=0; i<n; i++) {
			int ai = Integer.parseInt(sc.next());
			while(ai % 2 == 0) {
				ai /= 2;
				answer++;
			}
		}
		System.out.println(answer);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		new Main().solve(new Scanner(System.in));
	}
	
	public void solve(Scanner sc) {
		int n = Integer.parseInt(sc.next());
		
		int answer = 0;
		for(int i=0; i<n; i++) {
			int ai = Integer.parseInt(sc.next());
			while(ai % 2 == 0) {
				ai /= 2;
				answer++;
			}
		}
		System.out.println(answer);
	}
} Main public static void main(String[] args) {
		new Main().solve(new Scanner(System.in));
	} main {
		new Main().solve(new Scanner(System.in));
	} new Main().solve(new Scanner(System.in)) new Main().solve new Main() new Scanner(System.in) String[] args args public void solve(Scanner sc) {
		int n = Integer.parseInt(sc.next());
		
		int answer = 0;
		for(int i=0; i<n; i++) {
			int ai = Integer.parseInt(sc.next());
			while(ai % 2 == 0) {
				ai /= 2;
				answer++;
			}
		}
		System.out.println(answer);
	} solve {
		int n = Integer.parseInt(sc.next());
		
		int answer = 0;
		for(int i=0; i<n; i++) {
			int ai = Integer.parseInt(sc.next());
			while(ai % 2 == 0) {
				ai /= 2;
				answer++;
			}
		}
		System.out.println(answer);
	} int n = Integer.parseInt(sc.next()); n Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int answer = 0; answer 0 for(int i=0; i<n; i++) {
			int ai = Integer.parseInt(sc.next());
			while(ai % 2 == 0) {
				ai /= 2;
				answer++;
			}
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			int ai = Integer.parseInt(sc.next());
			while(ai % 2 == 0) {
				ai /= 2;
				answer++;
			}
		} {
			int ai = Integer.parseInt(sc.next());
			while(ai % 2 == 0) {
				ai /= 2;
				answer++;
			}
		} int ai = Integer.parseInt(sc.next()); ai Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc while(ai % 2 == 0) {
				ai /= 2;
				answer++;
			} ai % 2 == 0 ai % 2 ai 2 0 {
				ai /= 2;
				answer++;
			} ai /= 2 ai 2 answer++ answer System.out.println(answer) System.out.println System.out System System.out answer Scanner sc sc public class Main {
	public static void main(String[] args) {
		new Main().solve(new Scanner(System.in));
	}
	
	public void solve(Scanner sc) {
		int n = Integer.parseInt(sc.next());
		
		int answer = 0;
		for(int i=0; i<n; i++) {
			int ai = Integer.parseInt(sc.next());
			while(ai % 2 == 0) {
				ai /= 2;
				answer++;
			}
		}
		System.out.println(answer);
	}
} public class Main {
	public static void main(String[] args) {
		new Main().solve(new Scanner(System.in));
	}
	
	public void solve(Scanner sc) {
		int n = Integer.parseInt(sc.next());
		
		int answer = 0;
		for(int i=0; i<n; i++) {
			int ai = Integer.parseInt(sc.next());
			while(ai % 2 == 0) {
				ai /= 2;
				answer++;
			}
		}
		System.out.println(answer);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		new Main().solve(new Scanner(System.in));
	}
	
	public void solve(Scanner sc) {
		int n = Integer.parseInt(sc.next());
		
		int answer = 0;
		for(int i=0; i<n; i++) {
			int ai = Integer.parseInt(sc.next());
			while(ai % 2 == 0) {
				ai /= 2;
				answer++;
			}
		}
		System.out.println(answer);
	}
}
