import java.util.*;
import static java.lang.Integer.*;
import static java.lang.Long.*;
//import static java.lang.Math.*;
import static java.lang.System.*;

public class Main {
	public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(in);
		int n = parseInt(sc.next());
		long[] a = new long[n];
		for(i=0;i<n;i++) {
			a[i] = parseLong(sc.next());
		}
		sc.close();
		long cnt=0;
		for(i=0;i<n;i++) {
			while((a[i]&1)==0) {
				cnt++;
				a[i] = a[i] >> 1;
			}
		}
		out.println(cnt);
	}
} import java.util.*; util.* java import static java.lang.Integer.*; import static java.lang.Integer.*; import static java.lang.Integer.*; import static java.lang.Long.*; import static java.lang.Long.*; import static java.lang.Long.*; import static java.lang.System.*; import static java.lang.System.*; import static java.lang.System.*; public class Main {
	public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(in);
		int n = parseInt(sc.next());
		long[] a = new long[n];
		for(i=0;i<n;i++) {
			a[i] = parseLong(sc.next());
		}
		sc.close();
		long cnt=0;
		for(i=0;i<n;i++) {
			while((a[i]&1)==0) {
				cnt++;
				a[i] = a[i] >> 1;
			}
		}
		out.println(cnt);
	}
} Main public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(in);
		int n = parseInt(sc.next());
		long[] a = new long[n];
		for(i=0;i<n;i++) {
			a[i] = parseLong(sc.next());
		}
		sc.close();
		long cnt=0;
		for(i=0;i<n;i++) {
			while((a[i]&1)==0) {
				cnt++;
				a[i] = a[i] >> 1;
			}
		}
		out.println(cnt);
	} main {
		int i,j;
		Scanner sc = new Scanner(in);
		int n = parseInt(sc.next());
		long[] a = new long[n];
		for(i=0;i<n;i++) {
			a[i] = parseLong(sc.next());
		}
		sc.close();
		long cnt=0;
		for(i=0;i<n;i++) {
			while((a[i]&1)==0) {
				cnt++;
				a[i] = a[i] >> 1;
			}
		}
		out.println(cnt);
	} int i i j; j Scanner sc = new Scanner(in); sc new Scanner(in) int n = parseInt(sc.next()); n parseInt(sc.next()) parseInt sc.next() sc.next sc long[] a = new long[n]; a new long[n] n for(i=0;i<n;i++) {
			a[i] = parseLong(sc.next());
		} i=0; i=0 i 0 i<n i n i++ i++ i {
			a[i] = parseLong(sc.next());
		} {
			a[i] = parseLong(sc.next());
		} a[i] = parseLong(sc.next()) a[i] a i parseLong(sc.next()) parseLong sc.next() sc.next sc sc.close() sc.close sc long cnt=0; cnt 0 for(i=0;i<n;i++) {
			while((a[i]&1)==0) {
				cnt++;
				a[i] = a[i] >> 1;
			}
		} i=0; i=0 i 0 i<n i n i++ i++ i {
			while((a[i]&1)==0) {
				cnt++;
				a[i] = a[i] >> 1;
			}
		} {
			while((a[i]&1)==0) {
				cnt++;
				a[i] = a[i] >> 1;
			}
		} while((a[i]&1)==0) {
				cnt++;
				a[i] = a[i] >> 1;
			} (a[i]&1)==0 (a[i]&1) a[i] a i 1 0 {
				cnt++;
				a[i] = a[i] >> 1;
			} cnt++ cnt a[i] = a[i] >> 1 a[i] a i a[i] >> 1 a[i] a i 1 out.println(cnt) out.println out cnt String[] args args public class Main {
	public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(in);
		int n = parseInt(sc.next());
		long[] a = new long[n];
		for(i=0;i<n;i++) {
			a[i] = parseLong(sc.next());
		}
		sc.close();
		long cnt=0;
		for(i=0;i<n;i++) {
			while((a[i]&1)==0) {
				cnt++;
				a[i] = a[i] >> 1;
			}
		}
		out.println(cnt);
	}
} public class Main {
	public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(in);
		int n = parseInt(sc.next());
		long[] a = new long[n];
		for(i=0;i<n;i++) {
			a[i] = parseLong(sc.next());
		}
		sc.close();
		long cnt=0;
		for(i=0;i<n;i++) {
			while((a[i]&1)==0) {
				cnt++;
				a[i] = a[i] >> 1;
			}
		}
		out.println(cnt);
	}
} Main
import java.util.*;
import static java.lang.Integer.*;
import static java.lang.Long.*;
//import static java.lang.Math.*;
import static java.lang.System.*;

public class Main {
	public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(in);
		int n = parseInt(sc.next());
		long[] a = new long[n];
		for(i=0;i<n;i++) {
			a[i] = parseLong(sc.next());
		}
		sc.close();
		long cnt=0;
		for(i=0;i<n;i++) {
			while((a[i]&1)==0) {
				cnt++;
				a[i] = a[i] >> 1;
			}
		}
		out.println(cnt);
	}
}