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

public class Main{

	public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n        = Integer.parseInt(br.readLine());
		String[] tmp = br.readLine().split(" ");
		int cnt      = 0;

		for(int i = 0; i < n; i++) {

			long x = Long.parseLong(tmp[i]);

			while(x % 2 == 0) {

				x /= 2;
				cnt++;
			}

		}


		System.out.println(cnt);

	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main{

	public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n        = Integer.parseInt(br.readLine());
		String[] tmp = br.readLine().split(" ");
		int cnt      = 0;

		for(int i = 0; i < n; i++) {

			long x = Long.parseLong(tmp[i]);

			while(x % 2 == 0) {

				x /= 2;
				cnt++;
			}

		}


		System.out.println(cnt);

	}
} Main public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n        = Integer.parseInt(br.readLine());
		String[] tmp = br.readLine().split(" ");
		int cnt      = 0;

		for(int i = 0; i < n; i++) {

			long x = Long.parseLong(tmp[i]);

			while(x % 2 == 0) {

				x /= 2;
				cnt++;
			}

		}


		System.out.println(cnt);

	} main {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n        = Integer.parseInt(br.readLine());
		String[] tmp = br.readLine().split(" ");
		int cnt      = 0;

		for(int i = 0; i < n; i++) {

			long x = Long.parseLong(tmp[i]);

			while(x % 2 == 0) {

				x /= 2;
				cnt++;
			}

		}


		System.out.println(cnt);

	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int n        = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] tmp = br.readLine().split(" "); tmp br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int cnt      = 0; cnt 0 for(int i = 0; i < n; i++) {

			long x = Long.parseLong(tmp[i]);

			while(x % 2 == 0) {

				x /= 2;
				cnt++;
			}

		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {

			long x = Long.parseLong(tmp[i]);

			while(x % 2 == 0) {

				x /= 2;
				cnt++;
			}

		} {

			long x = Long.parseLong(tmp[i]);

			while(x % 2 == 0) {

				x /= 2;
				cnt++;
			}

		} long x = Long.parseLong(tmp[i]); x Long.parseLong(tmp[i]) Long.parseLong Long tmp[i] tmp i while(x % 2 == 0) {

				x /= 2;
				cnt++;
			} x % 2 == 0 x % 2 x 2 0 {

				x /= 2;
				cnt++;
			} x /= 2 x 2 cnt++ cnt System.out.println(cnt) System.out.println System.out System System.out cnt String[] args args public class Main{

	public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n        = Integer.parseInt(br.readLine());
		String[] tmp = br.readLine().split(" ");
		int cnt      = 0;

		for(int i = 0; i < n; i++) {

			long x = Long.parseLong(tmp[i]);

			while(x % 2 == 0) {

				x /= 2;
				cnt++;
			}

		}


		System.out.println(cnt);

	}
} public class Main{

	public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n        = Integer.parseInt(br.readLine());
		String[] tmp = br.readLine().split(" ");
		int cnt      = 0;

		for(int i = 0; i < n; i++) {

			long x = Long.parseLong(tmp[i]);

			while(x % 2 == 0) {

				x /= 2;
				cnt++;
			}

		}


		System.out.println(cnt);

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

public class Main{

	public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n        = Integer.parseInt(br.readLine());
		String[] tmp = br.readLine().split(" ");
		int cnt      = 0;

		for(int i = 0; i < n; i++) {

			long x = Long.parseLong(tmp[i]);

			while(x % 2 == 0) {

				x /= 2;
				cnt++;
			}

		}


		System.out.println(cnt);

	}
}
