import java.util.Scanner;

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

public class Main {
	public static void main(String args[]) {
		Scanner scn = new Scanner(System.in);
		int N = scn.nextInt();
		int ans = 0,buf = 0 ;
		for(int i = 0;i<N;i++) {
			buf = scn.nextInt();
			while(buf % 2 == 0) {
				ans++;
				buf/=2;
			}
		}
		scn.close();
		System.out.println(ans);
	}
}
