import java.util.*;

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

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