import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		partC100();
	}


	public static void partC100() {
		Scanner scC = new Scanner(System.in);
		boolean bool = false;
		int count = 0;
		int N = scC.nextInt();
		int[] a = new int[N];

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


		for(int j = 0 ; j < N ; j++) {
			if(a[j] % 2 == 0) {
				while(a[j] % 2 == 0) {
					a[j] /= 2;
					count++;
				}
				bool = true;
			}
		}


		if(bool) {
			System.out.println(count);
		}else {
			System.out.println(0);
		}

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

	public static void main(String[] args) {
		partC100();
	}


	public static void partC100() {
		Scanner scC = new Scanner(System.in);
		boolean bool = false;
		int count = 0;
		int N = scC.nextInt();
		int[] a = new int[N];

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


		for(int j = 0 ; j < N ; j++) {
			if(a[j] % 2 == 0) {
				while(a[j] % 2 == 0) {
					a[j] /= 2;
					count++;
				}
				bool = true;
			}
		}


		if(bool) {
			System.out.println(count);
		}else {
			System.out.println(0);
		}

	}
} Main public static void main(String[] args) {
		partC100();
	} main {
		partC100();
	} partC100() partC100 String[] args args public static void partC100() {
		Scanner scC = new Scanner(System.in);
		boolean bool = false;
		int count = 0;
		int N = scC.nextInt();
		int[] a = new int[N];

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


		for(int j = 0 ; j < N ; j++) {
			if(a[j] % 2 == 0) {
				while(a[j] % 2 == 0) {
					a[j] /= 2;
					count++;
				}
				bool = true;
			}
		}


		if(bool) {
			System.out.println(count);
		}else {
			System.out.println(0);
		}

	} partC100 {
		Scanner scC = new Scanner(System.in);
		boolean bool = false;
		int count = 0;
		int N = scC.nextInt();
		int[] a = new int[N];

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


		for(int j = 0 ; j < N ; j++) {
			if(a[j] % 2 == 0) {
				while(a[j] % 2 == 0) {
					a[j] /= 2;
					count++;
				}
				bool = true;
			}
		}


		if(bool) {
			System.out.println(count);
		}else {
			System.out.println(0);
		}

	} Scanner scC = new Scanner(System.in); scC new Scanner(System.in) boolean bool = false; bool false int count = 0; count 0 int N = scC.nextInt(); N scC.nextInt() scC.nextInt scC int[] a = new int[N]; a new int[N] N for(int i = 0 ; i < N ; i++) {
			a[i] = scC.nextInt();
		} int i = 0 ; int i = 0 ; i 0 i < N i N i++ i++ i {
			a[i] = scC.nextInt();
		} {
			a[i] = scC.nextInt();
		} a[i] = scC.nextInt() a[i] a i scC.nextInt() scC.nextInt scC for(int j = 0 ; j < N ; j++) {
			if(a[j] % 2 == 0) {
				while(a[j] % 2 == 0) {
					a[j] /= 2;
					count++;
				}
				bool = true;
			}
		} int j = 0 ; int j = 0 ; j 0 j < N j N j++ j++ j {
			if(a[j] % 2 == 0) {
				while(a[j] % 2 == 0) {
					a[j] /= 2;
					count++;
				}
				bool = true;
			}
		} {
			if(a[j] % 2 == 0) {
				while(a[j] % 2 == 0) {
					a[j] /= 2;
					count++;
				}
				bool = true;
			}
		} if(a[j] % 2 == 0) {
				while(a[j] % 2 == 0) {
					a[j] /= 2;
					count++;
				}
				bool = true;
			} a[j] % 2 == 0 a[j] % 2 a[j] a j 2 0 {
				while(a[j] % 2 == 0) {
					a[j] /= 2;
					count++;
				}
				bool = true;
			} while(a[j] % 2 == 0) {
					a[j] /= 2;
					count++;
				} a[j] % 2 == 0 a[j] % 2 a[j] a j 2 0 {
					a[j] /= 2;
					count++;
				} a[j] /= 2 a[j] a j 2 count++ count bool = true bool true if(bool) {
			System.out.println(count);
		}else {
			System.out.println(0);
		} bool {
			System.out.println(count);
		} System.out.println(count) System.out.println System.out System System.out count {
			System.out.println(0);
		} System.out.println(0) System.out.println System.out System System.out 0 public class Main {

	public static void main(String[] args) {
		partC100();
	}


	public static void partC100() {
		Scanner scC = new Scanner(System.in);
		boolean bool = false;
		int count = 0;
		int N = scC.nextInt();
		int[] a = new int[N];

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


		for(int j = 0 ; j < N ; j++) {
			if(a[j] % 2 == 0) {
				while(a[j] % 2 == 0) {
					a[j] /= 2;
					count++;
				}
				bool = true;
			}
		}


		if(bool) {
			System.out.println(count);
		}else {
			System.out.println(0);
		}

	}
} public class Main {

	public static void main(String[] args) {
		partC100();
	}


	public static void partC100() {
		Scanner scC = new Scanner(System.in);
		boolean bool = false;
		int count = 0;
		int N = scC.nextInt();
		int[] a = new int[N];

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


		for(int j = 0 ; j < N ; j++) {
			if(a[j] % 2 == 0) {
				while(a[j] % 2 == 0) {
					a[j] /= 2;
					count++;
				}
				bool = true;
			}
		}


		if(bool) {
			System.out.println(count);
		}else {
			System.out.println(0);
		}

	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		partC100();
	}


	public static void partC100() {
		Scanner scC = new Scanner(System.in);
		boolean bool = false;
		int count = 0;
		int N = scC.nextInt();
		int[] a = new int[N];

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


		for(int j = 0 ; j < N ; j++) {
			if(a[j] % 2 == 0) {
				while(a[j] % 2 == 0) {
					a[j] /= 2;
					count++;
				}
				bool = true;
			}
		}


		if(bool) {
			System.out.println(count);
		}else {
			System.out.println(0);
		}

	}
}