import java.util.Scanner;

class Main{

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

		System.out.println(sum);

	}





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

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

		System.out.println(sum);

	}





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

		System.out.println(sum);

	} main {
		Scanner scan = new Scanner(System.in);
		int N = scan.nextInt();
		int[] data = new int[N];
		int sum= 0;
		for(int i =0;i < N;i++){
			data[i] = scan.nextInt();
		}
		for(int i=0;i<N;i++){
			while(data[i]%2 ==0){
				sum++;
				data[i] /= 2;
			}
		}

		System.out.println(sum);

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int N = scan.nextInt(); N scan.nextInt() scan.nextInt scan int[] data = new int[N]; data new int[N] N int sum= 0; sum 0 for(int i =0;i < N;i++){
			data[i] = scan.nextInt();
		} int i =0; int i =0; i 0 i < N i N i++ i++ i {
			data[i] = scan.nextInt();
		} {
			data[i] = scan.nextInt();
		} data[i] = scan.nextInt() data[i] data i scan.nextInt() scan.nextInt scan for(int i=0;i<N;i++){
			while(data[i]%2 ==0){
				sum++;
				data[i] /= 2;
			}
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			while(data[i]%2 ==0){
				sum++;
				data[i] /= 2;
			}
		} {
			while(data[i]%2 ==0){
				sum++;
				data[i] /= 2;
			}
		} while(data[i]%2 ==0){
				sum++;
				data[i] /= 2;
			} data[i]%2 ==0 data[i]%2 data[i] data i 2 0 {
				sum++;
				data[i] /= 2;
			} sum++ sum data[i] /= 2 data[i] data i 2 System.out.println(sum) System.out.println System.out System System.out sum String[] args args
import java.util.Scanner;

class Main{

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

		System.out.println(sum);

	}





}