import java.util.Scanner;
public class Main{

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int len = scan.nextInt();
		long[] array = new long[len];
		int count = 0;

		for(int i=0;i<len;i++) {
			array[i] = scan.nextLong();
		}

		for(long x:array) {
			while(true) {
			if(x%2 == 0) {
				x = x/2;
				count++;
			}else {
				break;
			}
			}
		}

		System.out.println(count);
		scan.close();

	}

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

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int len = scan.nextInt();
		long[] array = new long[len];
		int count = 0;

		for(int i=0;i<len;i++) {
			array[i] = scan.nextLong();
		}

		for(long x:array) {
			while(true) {
			if(x%2 == 0) {
				x = x/2;
				count++;
			}else {
				break;
			}
			}
		}

		System.out.println(count);
		scan.close();

	}

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

		Scanner scan = new Scanner(System.in);

		int len = scan.nextInt();
		long[] array = new long[len];
		int count = 0;

		for(int i=0;i<len;i++) {
			array[i] = scan.nextLong();
		}

		for(long x:array) {
			while(true) {
			if(x%2 == 0) {
				x = x/2;
				count++;
			}else {
				break;
			}
			}
		}

		System.out.println(count);
		scan.close();

	} main {

		Scanner scan = new Scanner(System.in);

		int len = scan.nextInt();
		long[] array = new long[len];
		int count = 0;

		for(int i=0;i<len;i++) {
			array[i] = scan.nextLong();
		}

		for(long x:array) {
			while(true) {
			if(x%2 == 0) {
				x = x/2;
				count++;
			}else {
				break;
			}
			}
		}

		System.out.println(count);
		scan.close();

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int len = scan.nextInt(); len scan.nextInt() scan.nextInt scan long[] array = new long[len]; array new long[len] len int count = 0; count 0 for(int i=0;i<len;i++) {
			array[i] = scan.nextLong();
		} int i=0; int i=0; i 0 i<len i len i++ i++ i {
			array[i] = scan.nextLong();
		} {
			array[i] = scan.nextLong();
		} array[i] = scan.nextLong() array[i] array i scan.nextLong() scan.nextLong scan for(long x:array) {
			while(true) {
			if(x%2 == 0) {
				x = x/2;
				count++;
			}else {
				break;
			}
			}
		} long x array {
			while(true) {
			if(x%2 == 0) {
				x = x/2;
				count++;
			}else {
				break;
			}
			}
		} {
			while(true) {
			if(x%2 == 0) {
				x = x/2;
				count++;
			}else {
				break;
			}
			}
		} while(true) {
			if(x%2 == 0) {
				x = x/2;
				count++;
			}else {
				break;
			}
			} true {
			if(x%2 == 0) {
				x = x/2;
				count++;
			}else {
				break;
			}
			} if(x%2 == 0) {
				x = x/2;
				count++;
			}else {
				break;
			} x%2 == 0 x%2 x 2 0 {
				x = x/2;
				count++;
			} x = x/2 x x/2 x 2 count++ count {
				break;
			} break; System.out.println(count) System.out.println System.out System System.out count scan.close() scan.close scan String[] args args public class Main{

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int len = scan.nextInt();
		long[] array = new long[len];
		int count = 0;

		for(int i=0;i<len;i++) {
			array[i] = scan.nextLong();
		}

		for(long x:array) {
			while(true) {
			if(x%2 == 0) {
				x = x/2;
				count++;
			}else {
				break;
			}
			}
		}

		System.out.println(count);
		scan.close();

	}

} public class Main{

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int len = scan.nextInt();
		long[] array = new long[len];
		int count = 0;

		for(int i=0;i<len;i++) {
			array[i] = scan.nextLong();
		}

		for(long x:array) {
			while(true) {
			if(x%2 == 0) {
				x = x/2;
				count++;
			}else {
				break;
			}
			}
		}

		System.out.println(count);
		scan.close();

	}

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

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);

		int len = scan.nextInt();
		long[] array = new long[len];
		int count = 0;

		for(int i=0;i<len;i++) {
			array[i] = scan.nextLong();
		}

		for(long x:array) {
			while(true) {
			if(x%2 == 0) {
				x = x/2;
				count++;
			}else {
				break;
			}
			}
		}

		System.out.println(count);
		scan.close();

	}

}
