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

public class Main {

	public static void main(String[] args) throws IOException {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());

		String[] tmpArray = br.readLine().split(" ");

		int array[] = new int[n];

		for(int i = 0; i < n ; i++){
			array[i] = Integer.parseInt(tmpArray[i]);
		}

		long two = 0;

		for(int i = 0; i < n; i++){
			two += numOfTwo(array[i]);
		}

		System.out.println(two);
	}

	static int numOfTwo(int n){
		int result = 0;

		while(n % 2 == 0){
			n /= 2;
			result++;
		}

//		System.out.println(result);
		return result;
	}

} 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 {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());

		String[] tmpArray = br.readLine().split(" ");

		int array[] = new int[n];

		for(int i = 0; i < n ; i++){
			array[i] = Integer.parseInt(tmpArray[i]);
		}

		long two = 0;

		for(int i = 0; i < n; i++){
			two += numOfTwo(array[i]);
		}

		System.out.println(two);
	}

	static int numOfTwo(int n){
		int result = 0;

		while(n % 2 == 0){
			n /= 2;
			result++;
		}

//		System.out.println(result);
		return result;
	}

} Main public static void main(String[] args) throws IOException {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());

		String[] tmpArray = br.readLine().split(" ");

		int array[] = new int[n];

		for(int i = 0; i < n ; i++){
			array[i] = Integer.parseInt(tmpArray[i]);
		}

		long two = 0;

		for(int i = 0; i < n; i++){
			two += numOfTwo(array[i]);
		}

		System.out.println(two);
	} main {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());

		String[] tmpArray = br.readLine().split(" ");

		int array[] = new int[n];

		for(int i = 0; i < n ; i++){
			array[i] = Integer.parseInt(tmpArray[i]);
		}

		long two = 0;

		for(int i = 0; i < n; i++){
			two += numOfTwo(array[i]);
		}

		System.out.println(two);
	} 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[] tmpArray = br.readLine().split(" "); tmpArray br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int array[] = new int[n]; array new int[n] n for(int i = 0; i < n ; i++){
			array[i] = Integer.parseInt(tmpArray[i]);
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			array[i] = Integer.parseInt(tmpArray[i]);
		} {
			array[i] = Integer.parseInt(tmpArray[i]);
		} array[i] = Integer.parseInt(tmpArray[i]) array[i] array i Integer.parseInt(tmpArray[i]) Integer.parseInt Integer tmpArray[i] tmpArray i long two = 0; two 0 for(int i = 0; i < n; i++){
			two += numOfTwo(array[i]);
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			two += numOfTwo(array[i]);
		} {
			two += numOfTwo(array[i]);
		} two += numOfTwo(array[i]) two numOfTwo(array[i]) numOfTwo array[i] array i System.out.println(two) System.out.println System.out System System.out two String[] args args static int numOfTwo(int n){
		int result = 0;

		while(n % 2 == 0){
			n /= 2;
			result++;
		}

//		System.out.println(result);
		return result;
	} numOfTwo {
		int result = 0;

		while(n % 2 == 0){
			n /= 2;
			result++;
		}

//		System.out.println(result);
		return result;
	} int result = 0; result 0 while(n % 2 == 0){
			n /= 2;
			result++;
		} n % 2 == 0 n % 2 n 2 0 {
			n /= 2;
			result++;
		} n /= 2 n 2 result++ result return result; result int n n public class Main {

	public static void main(String[] args) throws IOException {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());

		String[] tmpArray = br.readLine().split(" ");

		int array[] = new int[n];

		for(int i = 0; i < n ; i++){
			array[i] = Integer.parseInt(tmpArray[i]);
		}

		long two = 0;

		for(int i = 0; i < n; i++){
			two += numOfTwo(array[i]);
		}

		System.out.println(two);
	}

	static int numOfTwo(int n){
		int result = 0;

		while(n % 2 == 0){
			n /= 2;
			result++;
		}

//		System.out.println(result);
		return result;
	}

} public class Main {

	public static void main(String[] args) throws IOException {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());

		String[] tmpArray = br.readLine().split(" ");

		int array[] = new int[n];

		for(int i = 0; i < n ; i++){
			array[i] = Integer.parseInt(tmpArray[i]);
		}

		long two = 0;

		for(int i = 0; i < n; i++){
			two += numOfTwo(array[i]);
		}

		System.out.println(two);
	}

	static int numOfTwo(int n){
		int result = 0;

		while(n % 2 == 0){
			n /= 2;
			result++;
		}

//		System.out.println(result);
		return result;
	}

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

public class Main {

	public static void main(String[] args) throws IOException {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		int n = Integer.parseInt(br.readLine());

		String[] tmpArray = br.readLine().split(" ");

		int array[] = new int[n];

		for(int i = 0; i < n ; i++){
			array[i] = Integer.parseInt(tmpArray[i]);
		}

		long two = 0;

		for(int i = 0; i < n; i++){
			two += numOfTwo(array[i]);
		}

		System.out.println(two);
	}

	static int numOfTwo(int n){
		int result = 0;

		while(n % 2 == 0){
			n /= 2;
			result++;
		}

//		System.out.println(result);
		return result;
	}

}
