import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {

	@SuppressWarnings("resource")
	public static void main(String args[]) {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		List<Integer> list = new ArrayList<>();

		for (int i = 0; i < n; i++) {
			int a = scanner.nextInt();
			if (a % 2 == 0)
				list.add(a);
		}

		int cnt = 0;
		for (int a : list) {
			cnt += calc2Pow(a);
		}

		System.out.println(cnt);

	}

	private static int calc2Pow(int a) {
		int cnt = 0;
		while (a % 2 == 0) {
			a /= 2;
			cnt++;
		}
		return cnt;
	}
} import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util public class Main {

	@SuppressWarnings("resource")
	public static void main(String args[]) {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		List<Integer> list = new ArrayList<>();

		for (int i = 0; i < n; i++) {
			int a = scanner.nextInt();
			if (a % 2 == 0)
				list.add(a);
		}

		int cnt = 0;
		for (int a : list) {
			cnt += calc2Pow(a);
		}

		System.out.println(cnt);

	}

	private static int calc2Pow(int a) {
		int cnt = 0;
		while (a % 2 == 0) {
			a /= 2;
			cnt++;
		}
		return cnt;
	}
} Main @SuppressWarnings("resource")
	public static void main(String args[]) {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		List<Integer> list = new ArrayList<>();

		for (int i = 0; i < n; i++) {
			int a = scanner.nextInt();
			if (a % 2 == 0)
				list.add(a);
		}

		int cnt = 0;
		for (int a : list) {
			cnt += calc2Pow(a);
		}

		System.out.println(cnt);

	} main {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		List<Integer> list = new ArrayList<>();

		for (int i = 0; i < n; i++) {
			int a = scanner.nextInt();
			if (a % 2 == 0)
				list.add(a);
		}

		int cnt = 0;
		for (int a : list) {
			cnt += calc2Pow(a);
		}

		System.out.println(cnt);

	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int n = scanner.nextInt(); n scanner.nextInt() scanner.nextInt scanner List<Integer> list = new ArrayList<>(); list new ArrayList<>() for (int i = 0; i < n; i++) {
			int a = scanner.nextInt();
			if (a % 2 == 0)
				list.add(a);
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			int a = scanner.nextInt();
			if (a % 2 == 0)
				list.add(a);
		} {
			int a = scanner.nextInt();
			if (a % 2 == 0)
				list.add(a);
		} int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner if (a % 2 == 0)
				list.add(a); a % 2 == 0 a % 2 a 2 0 list.add(a) list.add list a int cnt = 0; cnt 0 for (int a : list) {
			cnt += calc2Pow(a);
		} int a list {
			cnt += calc2Pow(a);
		} {
			cnt += calc2Pow(a);
		} cnt += calc2Pow(a) cnt calc2Pow(a) calc2Pow a System.out.println(cnt) System.out.println System.out System System.out cnt String args[] args private static int calc2Pow(int a) {
		int cnt = 0;
		while (a % 2 == 0) {
			a /= 2;
			cnt++;
		}
		return cnt;
	} calc2Pow {
		int cnt = 0;
		while (a % 2 == 0) {
			a /= 2;
			cnt++;
		}
		return cnt;
	} int cnt = 0; cnt 0 while (a % 2 == 0) {
			a /= 2;
			cnt++;
		} a % 2 == 0 a % 2 a 2 0 {
			a /= 2;
			cnt++;
		} a /= 2 a 2 cnt++ cnt return cnt; cnt int a a public class Main {

	@SuppressWarnings("resource")
	public static void main(String args[]) {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		List<Integer> list = new ArrayList<>();

		for (int i = 0; i < n; i++) {
			int a = scanner.nextInt();
			if (a % 2 == 0)
				list.add(a);
		}

		int cnt = 0;
		for (int a : list) {
			cnt += calc2Pow(a);
		}

		System.out.println(cnt);

	}

	private static int calc2Pow(int a) {
		int cnt = 0;
		while (a % 2 == 0) {
			a /= 2;
			cnt++;
		}
		return cnt;
	}
} public class Main {

	@SuppressWarnings("resource")
	public static void main(String args[]) {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		List<Integer> list = new ArrayList<>();

		for (int i = 0; i < n; i++) {
			int a = scanner.nextInt();
			if (a % 2 == 0)
				list.add(a);
		}

		int cnt = 0;
		for (int a : list) {
			cnt += calc2Pow(a);
		}

		System.out.println(cnt);

	}

	private static int calc2Pow(int a) {
		int cnt = 0;
		while (a % 2 == 0) {
			a /= 2;
			cnt++;
		}
		return cnt;
	}
} Main
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {

	@SuppressWarnings("resource")
	public static void main(String args[]) {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		List<Integer> list = new ArrayList<>();

		for (int i = 0; i < n; i++) {
			int a = scanner.nextInt();
			if (a % 2 == 0)
				list.add(a);
		}

		int cnt = 0;
		for (int a : list) {
			cnt += calc2Pow(a);
		}

		System.out.println(cnt);

	}

	private static int calc2Pow(int a) {
		int cnt = 0;
		while (a % 2 == 0) {
			a /= 2;
			cnt++;
		}
		return cnt;
	}
}