import java.util.*;

public class Main {
	public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
		long[] a = new long[n];
		for(int i=0; i<a.length; ++i){
			a[i] = scn.nextInt();
		}
      	int count = 0;
      	for(int i=0; i<a.length; ++i){
			for(int j=0; j<1000; j++){
              if(a[i]%2==1) break;
              a[i]=a[i]/2;
              count++;
            }
		}
      	System.out.println(count);
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
		long[] a = new long[n];
		for(int i=0; i<a.length; ++i){
			a[i] = scn.nextInt();
		}
      	int count = 0;
      	for(int i=0; i<a.length; ++i){
			for(int j=0; j<1000; j++){
              if(a[i]%2==1) break;
              a[i]=a[i]/2;
              count++;
            }
		}
      	System.out.println(count);
	}
} Main public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
		long[] a = new long[n];
		for(int i=0; i<a.length; ++i){
			a[i] = scn.nextInt();
		}
      	int count = 0;
      	for(int i=0; i<a.length; ++i){
			for(int j=0; j<1000; j++){
              if(a[i]%2==1) break;
              a[i]=a[i]/2;
              count++;
            }
		}
      	System.out.println(count);
	} main {
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
		long[] a = new long[n];
		for(int i=0; i<a.length; ++i){
			a[i] = scn.nextInt();
		}
      	int count = 0;
      	for(int i=0; i<a.length; ++i){
			for(int j=0; j<1000; j++){
              if(a[i]%2==1) break;
              a[i]=a[i]/2;
              count++;
            }
		}
      	System.out.println(count);
	} Scanner scn = new Scanner(System.in); scn new Scanner(System.in) int n = scn.nextInt(); n scn.nextInt() scn.nextInt scn long[] a = new long[n]; a new long[n] n for(int i=0; i<a.length; ++i){
			a[i] = scn.nextInt();
		} int i=0; int i=0; i 0 i<a.length i a.length a a.length ++i ++i i {
			a[i] = scn.nextInt();
		} {
			a[i] = scn.nextInt();
		} a[i] = scn.nextInt() a[i] a i scn.nextInt() scn.nextInt scn int count = 0; count 0 for(int i=0; i<a.length; ++i){
			for(int j=0; j<1000; j++){
              if(a[i]%2==1) break;
              a[i]=a[i]/2;
              count++;
            }
		} int i=0; int i=0; i 0 i<a.length i a.length a a.length ++i ++i i {
			for(int j=0; j<1000; j++){
              if(a[i]%2==1) break;
              a[i]=a[i]/2;
              count++;
            }
		} {
			for(int j=0; j<1000; j++){
              if(a[i]%2==1) break;
              a[i]=a[i]/2;
              count++;
            }
		} for(int j=0; j<1000; j++){
              if(a[i]%2==1) break;
              a[i]=a[i]/2;
              count++;
            } int j=0; int j=0; j 0 j<1000 j 1000 j++ j++ j {
              if(a[i]%2==1) break;
              a[i]=a[i]/2;
              count++;
            } {
              if(a[i]%2==1) break;
              a[i]=a[i]/2;
              count++;
            } if(a[i]%2==1) break; a[i]%2==1 a[i]%2 a[i] a i 2 1 break; a[i]=a[i]/2 a[i] a i a[i]/2 a[i] a i 2 count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {
	public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
		long[] a = new long[n];
		for(int i=0; i<a.length; ++i){
			a[i] = scn.nextInt();
		}
      	int count = 0;
      	for(int i=0; i<a.length; ++i){
			for(int j=0; j<1000; j++){
              if(a[i]%2==1) break;
              a[i]=a[i]/2;
              count++;
            }
		}
      	System.out.println(count);
	}
} public class Main {
	public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
		long[] a = new long[n];
		for(int i=0; i<a.length; ++i){
			a[i] = scn.nextInt();
		}
      	int count = 0;
      	for(int i=0; i<a.length; ++i){
			for(int j=0; j<1000; j++){
              if(a[i]%2==1) break;
              a[i]=a[i]/2;
              count++;
            }
		}
      	System.out.println(count);
	}
} Main
import java.util.*;

public class Main {
	public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt();
		long[] a = new long[n];
		for(int i=0; i<a.length; ++i){
			a[i] = scn.nextInt();
		}
      	int count = 0;
      	for(int i=0; i<a.length; ++i){
			for(int j=0; j<1000; j++){
              if(a[i]%2==1) break;
              a[i]=a[i]/2;
              count++;
            }
		}
      	System.out.println(count);
	}
}
