import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		 Scanner scan = new Scanner(System.in);
		 int N = scan.nextInt();
		 int kai = 0;
		 int index = 0;
		 
		 for (int i = 0; i < N; i++ ) {
			 index = scan.nextInt();
			 while (index % 2 == 0) {
				 kai += 1;
				 index /= 2;
			 }
		 }
		 
		 System.out.println(kai);
		 
		 scan.close();
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		 Scanner scan = new Scanner(System.in);
		 int N = scan.nextInt();
		 int kai = 0;
		 int index = 0;
		 
		 for (int i = 0; i < N; i++ ) {
			 index = scan.nextInt();
			 while (index % 2 == 0) {
				 kai += 1;
				 index /= 2;
			 }
		 }
		 
		 System.out.println(kai);
		 
		 scan.close();
	}

} Main public static void main(String[] args) {
		 Scanner scan = new Scanner(System.in);
		 int N = scan.nextInt();
		 int kai = 0;
		 int index = 0;
		 
		 for (int i = 0; i < N; i++ ) {
			 index = scan.nextInt();
			 while (index % 2 == 0) {
				 kai += 1;
				 index /= 2;
			 }
		 }
		 
		 System.out.println(kai);
		 
		 scan.close();
	} main {
		 Scanner scan = new Scanner(System.in);
		 int N = scan.nextInt();
		 int kai = 0;
		 int index = 0;
		 
		 for (int i = 0; i < N; i++ ) {
			 index = scan.nextInt();
			 while (index % 2 == 0) {
				 kai += 1;
				 index /= 2;
			 }
		 }
		 
		 System.out.println(kai);
		 
		 scan.close();
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int N = scan.nextInt(); N scan.nextInt() scan.nextInt scan int kai = 0; kai 0 int index = 0; index 0 for (int i = 0; i < N; i++ ) {
			 index = scan.nextInt();
			 while (index % 2 == 0) {
				 kai += 1;
				 index /= 2;
			 }
		 } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
			 index = scan.nextInt();
			 while (index % 2 == 0) {
				 kai += 1;
				 index /= 2;
			 }
		 } {
			 index = scan.nextInt();
			 while (index % 2 == 0) {
				 kai += 1;
				 index /= 2;
			 }
		 } index = scan.nextInt() index scan.nextInt() scan.nextInt scan while (index % 2 == 0) {
				 kai += 1;
				 index /= 2;
			 } index % 2 == 0 index % 2 index 2 0 {
				 kai += 1;
				 index /= 2;
			 } kai += 1 kai 1 index /= 2 index 2 System.out.println(kai) System.out.println System.out System System.out kai scan.close() scan.close scan String[] args args public class Main {

	public static void main(String[] args) {
		 Scanner scan = new Scanner(System.in);
		 int N = scan.nextInt();
		 int kai = 0;
		 int index = 0;
		 
		 for (int i = 0; i < N; i++ ) {
			 index = scan.nextInt();
			 while (index % 2 == 0) {
				 kai += 1;
				 index /= 2;
			 }
		 }
		 
		 System.out.println(kai);
		 
		 scan.close();
	}

} public class Main {

	public static void main(String[] args) {
		 Scanner scan = new Scanner(System.in);
		 int N = scan.nextInt();
		 int kai = 0;
		 int index = 0;
		 
		 for (int i = 0; i < N; i++ ) {
			 index = scan.nextInt();
			 while (index % 2 == 0) {
				 kai += 1;
				 index /= 2;
			 }
		 }
		 
		 System.out.println(kai);
		 
		 scan.close();
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		 Scanner scan = new Scanner(System.in);
		 int N = scan.nextInt();
		 int kai = 0;
		 int index = 0;
		 
		 for (int i = 0; i < N; i++ ) {
			 index = scan.nextInt();
			 while (index % 2 == 0) {
				 kai += 1;
				 index /= 2;
			 }
		 }
		 
		 System.out.println(kai);
		 
		 scan.close();
	}

}
