
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);

		int N = scanner.nextInt();

		int[] ai = new int[N];

		for(int i = 0;i<N;i++) {
			ai[i] = scanner.nextInt();
		}

		int cnt = 0;
		for (int i : ai) {
			while(i%2 != 1) {
				cnt ++;
				i = i/2;
			}
		}

		System.out.println(cnt);

	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);

		int N = scanner.nextInt();

		int[] ai = new int[N];

		for(int i = 0;i<N;i++) {
			ai[i] = scanner.nextInt();
		}

		int cnt = 0;
		for (int i : ai) {
			while(i%2 != 1) {
				cnt ++;
				i = i/2;
			}
		}

		System.out.println(cnt);

	}

} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);

		int N = scanner.nextInt();

		int[] ai = new int[N];

		for(int i = 0;i<N;i++) {
			ai[i] = scanner.nextInt();
		}

		int cnt = 0;
		for (int i : ai) {
			while(i%2 != 1) {
				cnt ++;
				i = i/2;
			}
		}

		System.out.println(cnt);

	} main {
		Scanner scanner = new Scanner(System.in);

		int N = scanner.nextInt();

		int[] ai = new int[N];

		for(int i = 0;i<N;i++) {
			ai[i] = scanner.nextInt();
		}

		int cnt = 0;
		for (int i : ai) {
			while(i%2 != 1) {
				cnt ++;
				i = i/2;
			}
		}

		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 int[] ai = new int[N]; ai new int[N] N for(int i = 0;i<N;i++) {
			ai[i] = scanner.nextInt();
		} int i = 0; int i = 0; i 0 i<N i N i++ i++ i {
			ai[i] = scanner.nextInt();
		} {
			ai[i] = scanner.nextInt();
		} ai[i] = scanner.nextInt() ai[i] ai i scanner.nextInt() scanner.nextInt scanner int cnt = 0; cnt 0 for (int i : ai) {
			while(i%2 != 1) {
				cnt ++;
				i = i/2;
			}
		} int i ai {
			while(i%2 != 1) {
				cnt ++;
				i = i/2;
			}
		} {
			while(i%2 != 1) {
				cnt ++;
				i = i/2;
			}
		} while(i%2 != 1) {
				cnt ++;
				i = i/2;
			} i%2 != 1 i%2 i 2 1 {
				cnt ++;
				i = i/2;
			} cnt ++ cnt i = i/2 i i/2 i 2 System.out.println(cnt) System.out.println System.out System System.out cnt String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);

		int N = scanner.nextInt();

		int[] ai = new int[N];

		for(int i = 0;i<N;i++) {
			ai[i] = scanner.nextInt();
		}

		int cnt = 0;
		for (int i : ai) {
			while(i%2 != 1) {
				cnt ++;
				i = i/2;
			}
		}

		System.out.println(cnt);

	}

} public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);

		int N = scanner.nextInt();

		int[] ai = new int[N];

		for(int i = 0;i<N;i++) {
			ai[i] = scanner.nextInt();
		}

		int cnt = 0;
		for (int i : ai) {
			while(i%2 != 1) {
				cnt ++;
				i = i/2;
			}
		}

		System.out.println(cnt);

	}

} Main

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);

		int N = scanner.nextInt();

		int[] ai = new int[N];

		for(int i = 0;i<N;i++) {
			ai[i] = scanner.nextInt();
		}

		int cnt = 0;
		for (int i : ai) {
			while(i%2 != 1) {
				cnt ++;
				i = i/2;
			}
		}

		System.out.println(cnt);

	}

}
