import static java.lang.System.*;
import java.util.*;

public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		int n = sc.nextInt();
		int[] ar = new int[n];
    int count = 0;
    int a = 0;
		for (int i=0; i<n; i++) {
			ar[i] = sc.nextInt();
		}
    for(int i=0; i<n; i++){
      a = ar[i];
      if(a % 2 == 0){
        while(true){
          a = a / 2;
          count = count + 1;
          if(a % 2 != 0){
            break;
          }
        }
      }
    }
    System.out.println(count);
  }
} import static java.lang.System.*; import static java.lang.System.*; import static java.lang.System.*; import java.util.*; util.* java public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		int n = sc.nextInt();
		int[] ar = new int[n];
    int count = 0;
    int a = 0;
		for (int i=0; i<n; i++) {
			ar[i] = sc.nextInt();
		}
    for(int i=0; i<n; i++){
      a = ar[i];
      if(a % 2 == 0){
        while(true){
          a = a / 2;
          count = count + 1;
          if(a % 2 != 0){
            break;
          }
        }
      }
    }
    System.out.println(count);
  }
} Main static Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main(String[] args) {
		int n = sc.nextInt();
		int[] ar = new int[n];
    int count = 0;
    int a = 0;
		for (int i=0; i<n; i++) {
			ar[i] = sc.nextInt();
		}
    for(int i=0; i<n; i++){
      a = ar[i];
      if(a % 2 == 0){
        while(true){
          a = a / 2;
          count = count + 1;
          if(a % 2 != 0){
            break;
          }
        }
      }
    }
    System.out.println(count);
  } main {
		int n = sc.nextInt();
		int[] ar = new int[n];
    int count = 0;
    int a = 0;
		for (int i=0; i<n; i++) {
			ar[i] = sc.nextInt();
		}
    for(int i=0; i<n; i++){
      a = ar[i];
      if(a % 2 == 0){
        while(true){
          a = a / 2;
          count = count + 1;
          if(a % 2 != 0){
            break;
          }
        }
      }
    }
    System.out.println(count);
  } int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int[] ar = new int[n]; ar new int[n] n int count = 0; count 0 int a = 0; a 0 for (int i=0; i<n; i++) {
			ar[i] = sc.nextInt();
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			ar[i] = sc.nextInt();
		} {
			ar[i] = sc.nextInt();
		} ar[i] = sc.nextInt() ar[i] ar i sc.nextInt() sc.nextInt sc for(int i=0; i<n; i++){
      a = ar[i];
      if(a % 2 == 0){
        while(true){
          a = a / 2;
          count = count + 1;
          if(a % 2 != 0){
            break;
          }
        }
      }
    } int i=0; int i=0; i 0 i<n i n i++ i++ i {
      a = ar[i];
      if(a % 2 == 0){
        while(true){
          a = a / 2;
          count = count + 1;
          if(a % 2 != 0){
            break;
          }
        }
      }
    } {
      a = ar[i];
      if(a % 2 == 0){
        while(true){
          a = a / 2;
          count = count + 1;
          if(a % 2 != 0){
            break;
          }
        }
      }
    } a = ar[i] a ar[i] ar i if(a % 2 == 0){
        while(true){
          a = a / 2;
          count = count + 1;
          if(a % 2 != 0){
            break;
          }
        }
      } a % 2 == 0 a % 2 a 2 0 {
        while(true){
          a = a / 2;
          count = count + 1;
          if(a % 2 != 0){
            break;
          }
        }
      } while(true){
          a = a / 2;
          count = count + 1;
          if(a % 2 != 0){
            break;
          }
        } true {
          a = a / 2;
          count = count + 1;
          if(a % 2 != 0){
            break;
          }
        } a = a / 2 a a / 2 a 2 count = count + 1 count count + 1 count 1 if(a % 2 != 0){
            break;
          } a % 2 != 0 a % 2 a 2 0 {
            break;
          } break; System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		int n = sc.nextInt();
		int[] ar = new int[n];
    int count = 0;
    int a = 0;
		for (int i=0; i<n; i++) {
			ar[i] = sc.nextInt();
		}
    for(int i=0; i<n; i++){
      a = ar[i];
      if(a % 2 == 0){
        while(true){
          a = a / 2;
          count = count + 1;
          if(a % 2 != 0){
            break;
          }
        }
      }
    }
    System.out.println(count);
  }
} public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		int n = sc.nextInt();
		int[] ar = new int[n];
    int count = 0;
    int a = 0;
		for (int i=0; i<n; i++) {
			ar[i] = sc.nextInt();
		}
    for(int i=0; i<n; i++){
      a = ar[i];
      if(a % 2 == 0){
        while(true){
          a = a / 2;
          count = count + 1;
          if(a % 2 != 0){
            break;
          }
        }
      }
    }
    System.out.println(count);
  }
} Main
import static java.lang.System.*;
import java.util.*;

public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		int n = sc.nextInt();
		int[] ar = new int[n];
    int count = 0;
    int a = 0;
		for (int i=0; i<n; i++) {
			ar[i] = sc.nextInt();
		}
    for(int i=0; i<n; i++){
      a = ar[i];
      if(a % 2 == 0){
        while(true){
          a = a / 2;
          count = count + 1;
          if(a % 2 != 0){
            break;
          }
        }
      }
    }
    System.out.println(count);
  }
}