import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());
		String[] aline = br.readLine().split(" ");

		int count = 0;

		for (int i = 0; i < n; i++) {
			int a = Integer.parseInt(aline[i]);
			while (a % 2 == 0) {
				count++;
				a /= 2;
			}
		}

		System.out.println(count);

	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());
		String[] aline = br.readLine().split(" ");

		int count = 0;

		for (int i = 0; i < n; i++) {
			int a = Integer.parseInt(aline[i]);
			while (a % 2 == 0) {
				count++;
				a /= 2;
			}
		}

		System.out.println(count);

	}

} Main public static void main(String[] args) throws NumberFormatException, IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());
		String[] aline = br.readLine().split(" ");

		int count = 0;

		for (int i = 0; i < n; i++) {
			int a = Integer.parseInt(aline[i]);
			while (a % 2 == 0) {
				count++;
				a /= 2;
			}
		}

		System.out.println(count);

	} main {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());
		String[] aline = br.readLine().split(" ");

		int count = 0;

		for (int i = 0; i < n; i++) {
			int a = Integer.parseInt(aline[i]);
			while (a % 2 == 0) {
				count++;
				a /= 2;
			}
		}

		System.out.println(count);

	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] aline = br.readLine().split(" "); aline br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int count = 0; count 0 for (int i = 0; i < n; i++) {
			int a = Integer.parseInt(aline[i]);
			while (a % 2 == 0) {
				count++;
				a /= 2;
			}
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			int a = Integer.parseInt(aline[i]);
			while (a % 2 == 0) {
				count++;
				a /= 2;
			}
		} {
			int a = Integer.parseInt(aline[i]);
			while (a % 2 == 0) {
				count++;
				a /= 2;
			}
		} int a = Integer.parseInt(aline[i]); a Integer.parseInt(aline[i]) Integer.parseInt Integer aline[i] aline i while (a % 2 == 0) {
				count++;
				a /= 2;
			} a % 2 == 0 a % 2 a 2 0 {
				count++;
				a /= 2;
			} count++ count a /= 2 a 2 System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());
		String[] aline = br.readLine().split(" ");

		int count = 0;

		for (int i = 0; i < n; i++) {
			int a = Integer.parseInt(aline[i]);
			while (a % 2 == 0) {
				count++;
				a /= 2;
			}
		}

		System.out.println(count);

	}

} public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());
		String[] aline = br.readLine().split(" ");

		int count = 0;

		for (int i = 0; i < n; i++) {
			int a = Integer.parseInt(aline[i]);
			while (a % 2 == 0) {
				count++;
				a /= 2;
			}
		}

		System.out.println(count);

	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());
		String[] aline = br.readLine().split(" ");

		int count = 0;

		for (int i = 0; i < n; i++) {
			int a = Integer.parseInt(aline[i]);
			while (a % 2 == 0) {
				count++;
				a /= 2;
			}
		}

		System.out.println(count);

	}

}
