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

public class Main {
	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());

		String str[] = br.readLine().split(" ");

		int a[] = new int[n];
		for (int i = 0; i < n; i++) {
			a[i] = Integer.parseInt(str[i]);
		}

		int count = 0;
		for (int i = 0; i < n; i++) {
			int temp = 0;

			while (a[i] % 2 == 0) {
				temp++;
				a[i] /= 2;
			}
			count += temp;
		}

		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 IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());

		String str[] = br.readLine().split(" ");

		int a[] = new int[n];
		for (int i = 0; i < n; i++) {
			a[i] = Integer.parseInt(str[i]);
		}

		int count = 0;
		for (int i = 0; i < n; i++) {
			int temp = 0;

			while (a[i] % 2 == 0) {
				temp++;
				a[i] /= 2;
			}
			count += temp;
		}

		System.out.println(count);
	}
} Main public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());

		String str[] = br.readLine().split(" ");

		int a[] = new int[n];
		for (int i = 0; i < n; i++) {
			a[i] = Integer.parseInt(str[i]);
		}

		int count = 0;
		for (int i = 0; i < n; i++) {
			int temp = 0;

			while (a[i] % 2 == 0) {
				temp++;
				a[i] /= 2;
			}
			count += temp;
		}

		System.out.println(count);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());

		String str[] = br.readLine().split(" ");

		int a[] = new int[n];
		for (int i = 0; i < n; i++) {
			a[i] = Integer.parseInt(str[i]);
		}

		int count = 0;
		for (int i = 0; i < n; i++) {
			int temp = 0;

			while (a[i] % 2 == 0) {
				temp++;
				a[i] /= 2;
			}
			count += temp;
		}

		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 str[] = br.readLine().split(" "); str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int a[] = new int[n]; a new int[n] n for (int i = 0; i < n; i++) {
			a[i] = Integer.parseInt(str[i]);
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			a[i] = Integer.parseInt(str[i]);
		} {
			a[i] = Integer.parseInt(str[i]);
		} a[i] = Integer.parseInt(str[i]) a[i] a i Integer.parseInt(str[i]) Integer.parseInt Integer str[i] str i int count = 0; count 0 for (int i = 0; i < n; i++) {
			int temp = 0;

			while (a[i] % 2 == 0) {
				temp++;
				a[i] /= 2;
			}
			count += temp;
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			int temp = 0;

			while (a[i] % 2 == 0) {
				temp++;
				a[i] /= 2;
			}
			count += temp;
		} {
			int temp = 0;

			while (a[i] % 2 == 0) {
				temp++;
				a[i] /= 2;
			}
			count += temp;
		} int temp = 0; temp 0 while (a[i] % 2 == 0) {
				temp++;
				a[i] /= 2;
			} a[i] % 2 == 0 a[i] % 2 a[i] a i 2 0 {
				temp++;
				a[i] /= 2;
			} temp++ temp a[i] /= 2 a[i] a i 2 count += temp count temp 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 IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());

		String str[] = br.readLine().split(" ");

		int a[] = new int[n];
		for (int i = 0; i < n; i++) {
			a[i] = Integer.parseInt(str[i]);
		}

		int count = 0;
		for (int i = 0; i < n; i++) {
			int temp = 0;

			while (a[i] % 2 == 0) {
				temp++;
				a[i] /= 2;
			}
			count += temp;
		}

		System.out.println(count);
	}
} public class Main {
	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());

		String str[] = br.readLine().split(" ");

		int a[] = new int[n];
		for (int i = 0; i < n; i++) {
			a[i] = Integer.parseInt(str[i]);
		}

		int count = 0;
		for (int i = 0; i < n; i++) {
			int temp = 0;

			while (a[i] % 2 == 0) {
				temp++;
				a[i] /= 2;
			}
			count += temp;
		}

		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 IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());

		String str[] = br.readLine().split(" ");

		int a[] = new int[n];
		for (int i = 0; i < n; i++) {
			a[i] = Integer.parseInt(str[i]);
		}

		int count = 0;
		for (int i = 0; i < n; i++) {
			int temp = 0;

			while (a[i] % 2 == 0) {
				temp++;
				a[i] /= 2;
			}
			count += temp;
		}

		System.out.println(count);
	}
}
