import java.util.*;

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

		int max = scan.nextInt();
		int a; 
		int count = 0;
		for(int i = 0; i < max; i++){
			a = scan.nextInt();

			count += get2(a);
		}

		System.out.println(count);

	}

	private static int get2(int a){
		int count = 0;
		
		while(true){
			if(a % 2 != 0){
				return count;
			}

			a /= 2;
			count++;
		}
	}
} import java.util.*; util.* java class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);

		int max = scan.nextInt();
		int a; 
		int count = 0;
		for(int i = 0; i < max; i++){
			a = scan.nextInt();

			count += get2(a);
		}

		System.out.println(count);

	}

	private static int get2(int a){
		int count = 0;
		
		while(true){
			if(a % 2 != 0){
				return count;
			}

			a /= 2;
			count++;
		}
	}
} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);

		int max = scan.nextInt();
		int a; 
		int count = 0;
		for(int i = 0; i < max; i++){
			a = scan.nextInt();

			count += get2(a);
		}

		System.out.println(count);

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

		int max = scan.nextInt();
		int a; 
		int count = 0;
		for(int i = 0; i < max; i++){
			a = scan.nextInt();

			count += get2(a);
		}

		System.out.println(count);

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int max = scan.nextInt(); max scan.nextInt() scan.nextInt scan int a; a int count = 0; count 0 for(int i = 0; i < max; i++){
			a = scan.nextInt();

			count += get2(a);
		} int i = 0; int i = 0; i 0 i < max i max i++ i++ i {
			a = scan.nextInt();

			count += get2(a);
		} {
			a = scan.nextInt();

			count += get2(a);
		} a = scan.nextInt() a scan.nextInt() scan.nextInt scan count += get2(a) count get2(a) get2 a System.out.println(count) System.out.println System.out System System.out count String[] args args private static int get2(int a){
		int count = 0;
		
		while(true){
			if(a % 2 != 0){
				return count;
			}

			a /= 2;
			count++;
		}
	} get2 {
		int count = 0;
		
		while(true){
			if(a % 2 != 0){
				return count;
			}

			a /= 2;
			count++;
		}
	} int count = 0; count 0 while(true){
			if(a % 2 != 0){
				return count;
			}

			a /= 2;
			count++;
		} true {
			if(a % 2 != 0){
				return count;
			}

			a /= 2;
			count++;
		} if(a % 2 != 0){
				return count;
			} a % 2 != 0 a % 2 a 2 0 {
				return count;
			} return count; count a /= 2 a 2 count++ count int a a
import java.util.*;

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

		int max = scan.nextInt();
		int a; 
		int count = 0;
		for(int i = 0; i < max; i++){
			a = scan.nextInt();

			count += get2(a);
		}

		System.out.println(count);

	}

	private static int get2(int a){
		int count = 0;
		
		while(true){
			if(a % 2 != 0){
				return count;
			}

			a /= 2;
			count++;
		}
	}
}
