
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Main main = new Main();
		main.run();
	}

	public void run() {
		Scanner sc = new Scanner(System.in);
		int n=sc.nextInt();
		long a[] = new long[n];
		for(int i=0; i<n; i++) {
			a[i]=sc.nextLong();
		}

		int ans = 0;
		for(int i=0; i<n; i++) {
			ans += f(a[i]);
		}
		System.out.println(ans);
		sc.close();
	}

	private int f(long x) {
		int res = 0;
		while(x%2 == 0) {
			res++;
			x/=2;
		}
		return res;
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Main main = new Main();
		main.run();
	}

	public void run() {
		Scanner sc = new Scanner(System.in);
		int n=sc.nextInt();
		long a[] = new long[n];
		for(int i=0; i<n; i++) {
			a[i]=sc.nextLong();
		}

		int ans = 0;
		for(int i=0; i<n; i++) {
			ans += f(a[i]);
		}
		System.out.println(ans);
		sc.close();
	}

	private int f(long x) {
		int res = 0;
		while(x%2 == 0) {
			res++;
			x/=2;
		}
		return res;
	}
} Main public static void main(String[] args) {
		Main main = new Main();
		main.run();
	} main {
		Main main = new Main();
		main.run();
	} Main main = new Main(); main new Main() main.run() main.run main String[] args args public void run() {
		Scanner sc = new Scanner(System.in);
		int n=sc.nextInt();
		long a[] = new long[n];
		for(int i=0; i<n; i++) {
			a[i]=sc.nextLong();
		}

		int ans = 0;
		for(int i=0; i<n; i++) {
			ans += f(a[i]);
		}
		System.out.println(ans);
		sc.close();
	} run {
		Scanner sc = new Scanner(System.in);
		int n=sc.nextInt();
		long a[] = new long[n];
		for(int i=0; i<n; i++) {
			a[i]=sc.nextLong();
		}

		int ans = 0;
		for(int i=0; i<n; i++) {
			ans += f(a[i]);
		}
		System.out.println(ans);
		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n=sc.nextInt(); n sc.nextInt() sc.nextInt sc long a[] = new long[n]; a new long[n] n for(int i=0; i<n; i++) {
			a[i]=sc.nextLong();
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			a[i]=sc.nextLong();
		} {
			a[i]=sc.nextLong();
		} a[i]=sc.nextLong() a[i] a i sc.nextLong() sc.nextLong sc int ans = 0; ans 0 for(int i=0; i<n; i++) {
			ans += f(a[i]);
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			ans += f(a[i]);
		} {
			ans += f(a[i]);
		} ans += f(a[i]) ans f(a[i]) f a[i] a i System.out.println(ans) System.out.println System.out System System.out ans sc.close() sc.close sc private int f(long x) {
		int res = 0;
		while(x%2 == 0) {
			res++;
			x/=2;
		}
		return res;
	} f {
		int res = 0;
		while(x%2 == 0) {
			res++;
			x/=2;
		}
		return res;
	} int res = 0; res 0 while(x%2 == 0) {
			res++;
			x/=2;
		} x%2 == 0 x%2 x 2 0 {
			res++;
			x/=2;
		} res++ res x/=2 x 2 return res; res long x x public class Main {
	public static void main(String[] args) {
		Main main = new Main();
		main.run();
	}

	public void run() {
		Scanner sc = new Scanner(System.in);
		int n=sc.nextInt();
		long a[] = new long[n];
		for(int i=0; i<n; i++) {
			a[i]=sc.nextLong();
		}

		int ans = 0;
		for(int i=0; i<n; i++) {
			ans += f(a[i]);
		}
		System.out.println(ans);
		sc.close();
	}

	private int f(long x) {
		int res = 0;
		while(x%2 == 0) {
			res++;
			x/=2;
		}
		return res;
	}
} public class Main {
	public static void main(String[] args) {
		Main main = new Main();
		main.run();
	}

	public void run() {
		Scanner sc = new Scanner(System.in);
		int n=sc.nextInt();
		long a[] = new long[n];
		for(int i=0; i<n; i++) {
			a[i]=sc.nextLong();
		}

		int ans = 0;
		for(int i=0; i<n; i++) {
			ans += f(a[i]);
		}
		System.out.println(ans);
		sc.close();
	}

	private int f(long x) {
		int res = 0;
		while(x%2 == 0) {
			res++;
			x/=2;
		}
		return res;
	}
} Main

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Main main = new Main();
		main.run();
	}

	public void run() {
		Scanner sc = new Scanner(System.in);
		int n=sc.nextInt();
		long a[] = new long[n];
		for(int i=0; i<n; i++) {
			a[i]=sc.nextLong();
		}

		int ans = 0;
		for(int i=0; i<n; i++) {
			ans += f(a[i]);
		}
		System.out.println(ans);
		sc.close();
	}

	private int f(long x) {
		int res = 0;
		while(x%2 == 0) {
			res++;
			x/=2;
		}
		return res;
	}
}
