import java.util.*;

class Main {
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	int N = scan.nextInt();
	int[] a = new int[N];
	for (int i = 0; i < N; i++) {
	    a[i] = scan.nextInt();
	}
	int anser = 0;
	for (int i = 0; i < N; i++) {
	    while(a[i] % 2 == 0) {
		a[i] = a[i] / 2;
		anser++;
	    }
	}
	System.out.println(anser);
    }
} import java.util.*; util.* java class Main {
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	int N = scan.nextInt();
	int[] a = new int[N];
	for (int i = 0; i < N; i++) {
	    a[i] = scan.nextInt();
	}
	int anser = 0;
	for (int i = 0; i < N; i++) {
	    while(a[i] % 2 == 0) {
		a[i] = a[i] / 2;
		anser++;
	    }
	}
	System.out.println(anser);
    }
} Main public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	int N = scan.nextInt();
	int[] a = new int[N];
	for (int i = 0; i < N; i++) {
	    a[i] = scan.nextInt();
	}
	int anser = 0;
	for (int i = 0; i < N; i++) {
	    while(a[i] % 2 == 0) {
		a[i] = a[i] / 2;
		anser++;
	    }
	}
	System.out.println(anser);
    } main {
	Scanner scan = new Scanner(System.in);
	int N = scan.nextInt();
	int[] a = new int[N];
	for (int i = 0; i < N; i++) {
	    a[i] = scan.nextInt();
	}
	int anser = 0;
	for (int i = 0; i < N; i++) {
	    while(a[i] % 2 == 0) {
		a[i] = a[i] / 2;
		anser++;
	    }
	}
	System.out.println(anser);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int N = scan.nextInt(); N scan.nextInt() scan.nextInt scan int[] a = new int[N]; a new int[N] N for (int i = 0; i < N; i++) {
	    a[i] = scan.nextInt();
	} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
	    a[i] = scan.nextInt();
	} {
	    a[i] = scan.nextInt();
	} a[i] = scan.nextInt() a[i] a i scan.nextInt() scan.nextInt scan int anser = 0; anser 0 for (int i = 0; i < N; i++) {
	    while(a[i] % 2 == 0) {
		a[i] = a[i] / 2;
		anser++;
	    }
	} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
	    while(a[i] % 2 == 0) {
		a[i] = a[i] / 2;
		anser++;
	    }
	} {
	    while(a[i] % 2 == 0) {
		a[i] = a[i] / 2;
		anser++;
	    }
	} while(a[i] % 2 == 0) {
		a[i] = a[i] / 2;
		anser++;
	    } a[i] % 2 == 0 a[i] % 2 a[i] a i 2 0 {
		a[i] = a[i] / 2;
		anser++;
	    } a[i] = a[i] / 2 a[i] a i a[i] / 2 a[i] a i 2 anser++ anser System.out.println(anser) System.out.println System.out System System.out anser String[] args args
import java.util.*;

class Main {
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	int N = scan.nextInt();
	int[] a = new int[N];
	for (int i = 0; i < N; i++) {
	    a[i] = scan.nextInt();
	}
	int anser = 0;
	for (int i = 0; i < N; i++) {
	    while(a[i] % 2 == 0) {
		a[i] = a[i] / 2;
		anser++;
	    }
	}
	System.out.println(anser);
    }
}
