	import java.util.Scanner;

	public class Main {

		static long mod = 1000000007;

		public static void main(String[] args) {

			Scanner sc = new Scanner(System.in);
			String[] t = sc.nextLine().split(" ");
			int n  	   = Integer.parseInt(t[0]);
			int ans    = 0;
			//long k = Long.parseLong(t[1].replaceAll("\\.", ""));

			String[] r = sc.nextLine().split(" ");
			for(int i = 0; i < n; i ++) {
				ans += twoThree(Integer.parseInt(r[i]));
			}

			System.out.println(ans);
		}

		public static int twoThree(int x) {

			int cnt = 0;
			while(x % 2 == 0) {

				if(x % 2 == 0) {
					x /= 2;
				}
				cnt++;
			}
			return cnt;
		}
	} import java.util.Scanner; Scanner java.util public class Main {

		static long mod = 1000000007;

		public static void main(String[] args) {

			Scanner sc = new Scanner(System.in);
			String[] t = sc.nextLine().split(" ");
			int n  	   = Integer.parseInt(t[0]);
			int ans    = 0;
			//long k = Long.parseLong(t[1].replaceAll("\\.", ""));

			String[] r = sc.nextLine().split(" ");
			for(int i = 0; i < n; i ++) {
				ans += twoThree(Integer.parseInt(r[i]));
			}

			System.out.println(ans);
		}

		public static int twoThree(int x) {

			int cnt = 0;
			while(x % 2 == 0) {

				if(x % 2 == 0) {
					x /= 2;
				}
				cnt++;
			}
			return cnt;
		}
	} Main static long mod = 1000000007; mod 1000000007 public static void main(String[] args) {

			Scanner sc = new Scanner(System.in);
			String[] t = sc.nextLine().split(" ");
			int n  	   = Integer.parseInt(t[0]);
			int ans    = 0;
			//long k = Long.parseLong(t[1].replaceAll("\\.", ""));

			String[] r = sc.nextLine().split(" ");
			for(int i = 0; i < n; i ++) {
				ans += twoThree(Integer.parseInt(r[i]));
			}

			System.out.println(ans);
		} main {

			Scanner sc = new Scanner(System.in);
			String[] t = sc.nextLine().split(" ");
			int n  	   = Integer.parseInt(t[0]);
			int ans    = 0;
			//long k = Long.parseLong(t[1].replaceAll("\\.", ""));

			String[] r = sc.nextLine().split(" ");
			for(int i = 0; i < n; i ++) {
				ans += twoThree(Integer.parseInt(r[i]));
			}

			System.out.println(ans);
		} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String[] t = sc.nextLine().split(" "); t sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " int n  	   = Integer.parseInt(t[0]); n Integer.parseInt(t[0]) Integer.parseInt Integer t[0] t 0 int ans    = 0; ans 0 String[] r = sc.nextLine().split(" "); r sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " for(int i = 0; i < n; i ++) {
				ans += twoThree(Integer.parseInt(r[i]));
			} int i = 0; int i = 0; i 0 i < n i n i ++ i ++ i {
				ans += twoThree(Integer.parseInt(r[i]));
			} {
				ans += twoThree(Integer.parseInt(r[i]));
			} ans += twoThree(Integer.parseInt(r[i])) ans twoThree(Integer.parseInt(r[i])) twoThree Integer.parseInt(r[i]) Integer.parseInt Integer r[i] r i System.out.println(ans) System.out.println System.out System System.out ans String[] args args public static int twoThree(int x) {

			int cnt = 0;
			while(x % 2 == 0) {

				if(x % 2 == 0) {
					x /= 2;
				}
				cnt++;
			}
			return cnt;
		} twoThree {

			int cnt = 0;
			while(x % 2 == 0) {

				if(x % 2 == 0) {
					x /= 2;
				}
				cnt++;
			}
			return cnt;
		} int cnt = 0; cnt 0 while(x % 2 == 0) {

				if(x % 2 == 0) {
					x /= 2;
				}
				cnt++;
			} x % 2 == 0 x % 2 x 2 0 {

				if(x % 2 == 0) {
					x /= 2;
				}
				cnt++;
			} if(x % 2 == 0) {
					x /= 2;
				} x % 2 == 0 x % 2 x 2 0 {
					x /= 2;
				} x /= 2 x 2 cnt++ cnt return cnt; cnt int x x public class Main {

		static long mod = 1000000007;

		public static void main(String[] args) {

			Scanner sc = new Scanner(System.in);
			String[] t = sc.nextLine().split(" ");
			int n  	   = Integer.parseInt(t[0]);
			int ans    = 0;
			//long k = Long.parseLong(t[1].replaceAll("\\.", ""));

			String[] r = sc.nextLine().split(" ");
			for(int i = 0; i < n; i ++) {
				ans += twoThree(Integer.parseInt(r[i]));
			}

			System.out.println(ans);
		}

		public static int twoThree(int x) {

			int cnt = 0;
			while(x % 2 == 0) {

				if(x % 2 == 0) {
					x /= 2;
				}
				cnt++;
			}
			return cnt;
		}
	} public class Main {

		static long mod = 1000000007;

		public static void main(String[] args) {

			Scanner sc = new Scanner(System.in);
			String[] t = sc.nextLine().split(" ");
			int n  	   = Integer.parseInt(t[0]);
			int ans    = 0;
			//long k = Long.parseLong(t[1].replaceAll("\\.", ""));

			String[] r = sc.nextLine().split(" ");
			for(int i = 0; i < n; i ++) {
				ans += twoThree(Integer.parseInt(r[i]));
			}

			System.out.println(ans);
		}

		public static int twoThree(int x) {

			int cnt = 0;
			while(x % 2 == 0) {

				if(x % 2 == 0) {
					x /= 2;
				}
				cnt++;
			}
			return cnt;
		}
	} Main
	import java.util.Scanner;

	public class Main {

		static long mod = 1000000007;

		public static void main(String[] args) {

			Scanner sc = new Scanner(System.in);
			String[] t = sc.nextLine().split(" ");
			int n  	   = Integer.parseInt(t[0]);
			int ans    = 0;
			//long k = Long.parseLong(t[1].replaceAll("\\.", ""));

			String[] r = sc.nextLine().split(" ");
			for(int i = 0; i < n; i ++) {
				ans += twoThree(Integer.parseInt(r[i]));
			}

			System.out.println(ans);
		}

		public static int twoThree(int x) {

			int cnt = 0;
			while(x % 2 == 0) {

				if(x % 2 == 0) {
					x /= 2;
				}
				cnt++;
			}
			return cnt;
		}
	}
