import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {
	public static void main(String args[]) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		Solver solver = new Solver();
		solver.init();
		solver.readHead(in.readLine());
		for (; solver.hasNext();) {
			solver.readBody(in.readLine());
		}
		// solver.solve();
	}
}

class Solver {
	int N;
	int cnt;

	public void init() {
		N = 0;
		cnt = 0;
	}

	public void readHead(String str) {
		String[] strArr = str.split(" ");
		N = Integer.parseInt(strArr[0]);
		// System.out.println(N);
	}

	public boolean hasNext() {
		// return cnt < N;
		return cnt < 1;
	}

	public void readBody(String str) {
		// System.out.println(str);
		cnt++;
		String[] strArr = str.split(" ");
		int[] a = new int[N];
		for (int i = 0; i < N; i++)
			a[i] = Integer.parseInt(strArr[i]);
		// for (int i = 0; i < N; i++)
		// System.out.print(" " + a[i]);
		// System.out.println();
		long ans = 0;
		for (int i = 0; i < N; i++) {
			for (int n = a[i]; n % 2 == 0; n /= 2) {
				ans++;
			}
		}
		System.out.println(ans);

	}

	public void solve() {

	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main {
	public static void main(String args[]) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		Solver solver = new Solver();
		solver.init();
		solver.readHead(in.readLine());
		for (; solver.hasNext();) {
			solver.readBody(in.readLine());
		}
		// solver.solve();
	}
} Main public static void main(String args[]) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		Solver solver = new Solver();
		solver.init();
		solver.readHead(in.readLine());
		for (; solver.hasNext();) {
			solver.readBody(in.readLine());
		}
		// solver.solve();
	} main {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		Solver solver = new Solver();
		solver.init();
		solver.readHead(in.readLine());
		for (; solver.hasNext();) {
			solver.readBody(in.readLine());
		}
		// solver.solve();
	} BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) Solver solver = new Solver(); solver new Solver() solver.init() solver.init solver solver.readHead(in.readLine()) solver.readHead solver in.readLine() in.readLine in for (; solver.hasNext();) {
			solver.readBody(in.readLine());
		} ; solver.hasNext() solver.hasNext solver {
			solver.readBody(in.readLine());
		} {
			solver.readBody(in.readLine());
		} solver.readBody(in.readLine()) solver.readBody solver in.readLine() in.readLine in String args[] args class Solver {
	int N;
	int cnt;

	public void init() {
		N = 0;
		cnt = 0;
	}

	public void readHead(String str) {
		String[] strArr = str.split(" ");
		N = Integer.parseInt(strArr[0]);
		// System.out.println(N);
	}

	public boolean hasNext() {
		// return cnt < N;
		return cnt < 1;
	}

	public void readBody(String str) {
		// System.out.println(str);
		cnt++;
		String[] strArr = str.split(" ");
		int[] a = new int[N];
		for (int i = 0; i < N; i++)
			a[i] = Integer.parseInt(strArr[i]);
		// for (int i = 0; i < N; i++)
		// System.out.print(" " + a[i]);
		// System.out.println();
		long ans = 0;
		for (int i = 0; i < N; i++) {
			for (int n = a[i]; n % 2 == 0; n /= 2) {
				ans++;
			}
		}
		System.out.println(ans);

	}

	public void solve() {

	}
} Solver int N; N int cnt; cnt public void init() {
		N = 0;
		cnt = 0;
	} init {
		N = 0;
		cnt = 0;
	} N = 0 N 0 cnt = 0 cnt 0 public void readHead(String str) {
		String[] strArr = str.split(" ");
		N = Integer.parseInt(strArr[0]);
		// System.out.println(N);
	} readHead {
		String[] strArr = str.split(" ");
		N = Integer.parseInt(strArr[0]);
		// System.out.println(N);
	} String[] strArr = str.split(" "); strArr str.split(" ") str.split str " " N = Integer.parseInt(strArr[0]) N Integer.parseInt(strArr[0]) Integer.parseInt Integer strArr[0] strArr 0 String str str public boolean hasNext() {
		// return cnt < N;
		return cnt < 1;
	} hasNext {
		// return cnt < N;
		return cnt < 1;
	} return cnt < 1; cnt < 1 cnt 1 public void readBody(String str) {
		// System.out.println(str);
		cnt++;
		String[] strArr = str.split(" ");
		int[] a = new int[N];
		for (int i = 0; i < N; i++)
			a[i] = Integer.parseInt(strArr[i]);
		// for (int i = 0; i < N; i++)
		// System.out.print(" " + a[i]);
		// System.out.println();
		long ans = 0;
		for (int i = 0; i < N; i++) {
			for (int n = a[i]; n % 2 == 0; n /= 2) {
				ans++;
			}
		}
		System.out.println(ans);

	} readBody {
		// System.out.println(str);
		cnt++;
		String[] strArr = str.split(" ");
		int[] a = new int[N];
		for (int i = 0; i < N; i++)
			a[i] = Integer.parseInt(strArr[i]);
		// for (int i = 0; i < N; i++)
		// System.out.print(" " + a[i]);
		// System.out.println();
		long ans = 0;
		for (int i = 0; i < N; i++) {
			for (int n = a[i]; n % 2 == 0; n /= 2) {
				ans++;
			}
		}
		System.out.println(ans);

	} cnt++ cnt String[] strArr = str.split(" "); strArr str.split(" ") str.split str " " int[] a = new int[N]; a new int[N] N for (int i = 0; i < N; i++)
			a[i] = Integer.parseInt(strArr[i]); int i = 0; int i = 0; i 0 i < N i N i++ i++ i a[i] = Integer.parseInt(strArr[i]); a[i] = Integer.parseInt(strArr[i]) a[i] a i Integer.parseInt(strArr[i]) Integer.parseInt Integer strArr[i] strArr i long ans = 0; ans 0 for (int i = 0; i < N; i++) {
			for (int n = a[i]; n % 2 == 0; n /= 2) {
				ans++;
			}
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			for (int n = a[i]; n % 2 == 0; n /= 2) {
				ans++;
			}
		} {
			for (int n = a[i]; n % 2 == 0; n /= 2) {
				ans++;
			}
		} for (int n = a[i]; n % 2 == 0; n /= 2) {
				ans++;
			} int n = a[i]; int n = a[i]; n a[i] a i n % 2 == 0 n % 2 n 2 0 n /= 2 n /= 2 n 2 {
				ans++;
			} {
				ans++;
			} ans++ ans System.out.println(ans) System.out.println System.out System System.out ans String str str public void solve() {

	} solve {

	}
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {
	public static void main(String args[]) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		Solver solver = new Solver();
		solver.init();
		solver.readHead(in.readLine());
		for (; solver.hasNext();) {
			solver.readBody(in.readLine());
		}
		// solver.solve();
	}
}

class Solver {
	int N;
	int cnt;

	public void init() {
		N = 0;
		cnt = 0;
	}

	public void readHead(String str) {
		String[] strArr = str.split(" ");
		N = Integer.parseInt(strArr[0]);
		// System.out.println(N);
	}

	public boolean hasNext() {
		// return cnt < N;
		return cnt < 1;
	}

	public void readBody(String str) {
		// System.out.println(str);
		cnt++;
		String[] strArr = str.split(" ");
		int[] a = new int[N];
		for (int i = 0; i < N; i++)
			a[i] = Integer.parseInt(strArr[i]);
		// for (int i = 0; i < N; i++)
		// System.out.print(" " + a[i]);
		// System.out.println();
		long ans = 0;
		for (int i = 0; i < N; i++) {
			for (int n = a[i]; n % 2 == 0; n /= 2) {
				ans++;
			}
		}
		System.out.println(ans);

	}

	public void solve() {

	}
}
