
import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int N=sc.nextInt();
		int A[]=new int[10000];

		for(int i=0; i<N; i++) {
			A[i]=sc.nextInt();
		}
		//System.out.println(N);
		int fn=0;
		for(int i=0; i<N; i++) {
			while(A[i]%2==0) {
				fn++;
				A[i]/=2;

			}
		}
		System.out.println(fn);
	}

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int N=sc.nextInt();
		int A[]=new int[10000];

		for(int i=0; i<N; i++) {
			A[i]=sc.nextInt();
		}
		//System.out.println(N);
		int fn=0;
		for(int i=0; i<N; i++) {
			while(A[i]%2==0) {
				fn++;
				A[i]/=2;

			}
		}
		System.out.println(fn);
	}

} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int N=sc.nextInt();
		int A[]=new int[10000];

		for(int i=0; i<N; i++) {
			A[i]=sc.nextInt();
		}
		//System.out.println(N);
		int fn=0;
		for(int i=0; i<N; i++) {
			while(A[i]%2==0) {
				fn++;
				A[i]/=2;

			}
		}
		System.out.println(fn);
	} main {
		Scanner sc = new Scanner(System.in);
		int N=sc.nextInt();
		int A[]=new int[10000];

		for(int i=0; i<N; i++) {
			A[i]=sc.nextInt();
		}
		//System.out.println(N);
		int fn=0;
		for(int i=0; i<N; i++) {
			while(A[i]%2==0) {
				fn++;
				A[i]/=2;

			}
		}
		System.out.println(fn);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N=sc.nextInt(); N sc.nextInt() sc.nextInt sc int A[]=new int[10000]; A new int[10000] 10000 for(int i=0; i<N; i++) {
			A[i]=sc.nextInt();
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			A[i]=sc.nextInt();
		} {
			A[i]=sc.nextInt();
		} A[i]=sc.nextInt() A[i] A i sc.nextInt() sc.nextInt sc int fn=0; fn 0 for(int i=0; i<N; i++) {
			while(A[i]%2==0) {
				fn++;
				A[i]/=2;

			}
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			while(A[i]%2==0) {
				fn++;
				A[i]/=2;

			}
		} {
			while(A[i]%2==0) {
				fn++;
				A[i]/=2;

			}
		} while(A[i]%2==0) {
				fn++;
				A[i]/=2;

			} A[i]%2==0 A[i]%2 A[i] A i 2 0 {
				fn++;
				A[i]/=2;

			} fn++ fn A[i]/=2 A[i] A i 2 System.out.println(fn) System.out.println System.out System System.out fn String[] args args public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int N=sc.nextInt();
		int A[]=new int[10000];

		for(int i=0; i<N; i++) {
			A[i]=sc.nextInt();
		}
		//System.out.println(N);
		int fn=0;
		for(int i=0; i<N; i++) {
			while(A[i]%2==0) {
				fn++;
				A[i]/=2;

			}
		}
		System.out.println(fn);
	}

} public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int N=sc.nextInt();
		int A[]=new int[10000];

		for(int i=0; i<N; i++) {
			A[i]=sc.nextInt();
		}
		//System.out.println(N);
		int fn=0;
		for(int i=0; i<N; i++) {
			while(A[i]%2==0) {
				fn++;
				A[i]/=2;

			}
		}
		System.out.println(fn);
	}

} Main

import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int N=sc.nextInt();
		int A[]=new int[10000];

		for(int i=0; i<N; i++) {
			A[i]=sc.nextInt();
		}
		//System.out.println(N);
		int fn=0;
		for(int i=0; i<N; i++) {
			while(A[i]%2==0) {
				fn++;
				A[i]/=2;

			}
		}
		System.out.println(fn);
	}

}