import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		new Main().run();
	}

	void run() {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int res = 0;
		for(int i=0; i<n; i++) {
			res += f(sc.nextLong());
		}
		sc.close();
		System.out.println(res);
	}
	
	int f(long a) {
		if(a%2 != 0) return 0;
		else return f(a/2) + 1;
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		new Main().run();
	}

	void run() {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int res = 0;
		for(int i=0; i<n; i++) {
			res += f(sc.nextLong());
		}
		sc.close();
		System.out.println(res);
	}
	
	int f(long a) {
		if(a%2 != 0) return 0;
		else return f(a/2) + 1;
	}
} Main public static void main(String[] args) {
		new Main().run();
	} main {
		new Main().run();
	} new Main().run() new Main().run new Main() String[] args args void run() {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int res = 0;
		for(int i=0; i<n; i++) {
			res += f(sc.nextLong());
		}
		sc.close();
		System.out.println(res);
	} run {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int res = 0;
		for(int i=0; i<n; i++) {
			res += f(sc.nextLong());
		}
		sc.close();
		System.out.println(res);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int res = 0; res 0 for(int i=0; i<n; i++) {
			res += f(sc.nextLong());
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			res += f(sc.nextLong());
		} {
			res += f(sc.nextLong());
		} res += f(sc.nextLong()) res f(sc.nextLong()) f sc.nextLong() sc.nextLong sc sc.close() sc.close sc System.out.println(res) System.out.println System.out System System.out res int f(long a) {
		if(a%2 != 0) return 0;
		else return f(a/2) + 1;
	} f {
		if(a%2 != 0) return 0;
		else return f(a/2) + 1;
	} if(a%2 != 0) return 0;
		else return f(a/2) + 1; a%2 != 0 a%2 a 2 0 return 0; 0 return f(a/2) + 1; f(a/2) + 1 f(a/2) f a/2 a 2 1 long a a public class Main {

	public static void main(String[] args) {
		new Main().run();
	}

	void run() {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int res = 0;
		for(int i=0; i<n; i++) {
			res += f(sc.nextLong());
		}
		sc.close();
		System.out.println(res);
	}
	
	int f(long a) {
		if(a%2 != 0) return 0;
		else return f(a/2) + 1;
	}
} public class Main {

	public static void main(String[] args) {
		new Main().run();
	}

	void run() {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int res = 0;
		for(int i=0; i<n; i++) {
			res += f(sc.nextLong());
		}
		sc.close();
		System.out.println(res);
	}
	
	int f(long a) {
		if(a%2 != 0) return 0;
		else return f(a/2) + 1;
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		new Main().run();
	}

	void run() {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int res = 0;
		for(int i=0; i<n; i++) {
			res += f(sc.nextLong());
		}
		sc.close();
		System.out.println(res);
	}
	
	int f(long a) {
		if(a%2 != 0) return 0;
		else return f(a/2) + 1;
	}
}