import java.util.Scanner;
import java.util.Arrays;
import java.util.stream.Stream;
import java.util.stream.IntStream;
import java.lang.StringBuilder;

public class Main {
  public static void main(String[] args ){
    Scanner sc = new Scanner(System.in);

    int N = sc.nextInt();

    int[] a = new int[N];

    for (int i = 0; i < N; i++) {
      a[i] = sc.nextInt();
    }

    long opCnt = 0;
    for (int i = 0; i < N; i++) {
      int tmp = a[i];
      while(tmp % 2 == 0){
        tmp = tmp / 2;
        opCnt++;
      }
    }

    System.out.println(opCnt);
  }
} import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util import java.util.stream.Stream; Stream java.util.stream import java.util.stream.IntStream; IntStream java.util.stream import java.lang.StringBuilder; StringBuilder java.lang public class Main {
  public static void main(String[] args ){
    Scanner sc = new Scanner(System.in);

    int N = sc.nextInt();

    int[] a = new int[N];

    for (int i = 0; i < N; i++) {
      a[i] = sc.nextInt();
    }

    long opCnt = 0;
    for (int i = 0; i < N; i++) {
      int tmp = a[i];
      while(tmp % 2 == 0){
        tmp = tmp / 2;
        opCnt++;
      }
    }

    System.out.println(opCnt);
  }
} Main public static void main(String[] args ){
    Scanner sc = new Scanner(System.in);

    int N = sc.nextInt();

    int[] a = new int[N];

    for (int i = 0; i < N; i++) {
      a[i] = sc.nextInt();
    }

    long opCnt = 0;
    for (int i = 0; i < N; i++) {
      int tmp = a[i];
      while(tmp % 2 == 0){
        tmp = tmp / 2;
        opCnt++;
      }
    }

    System.out.println(opCnt);
  } main {
    Scanner sc = new Scanner(System.in);

    int N = sc.nextInt();

    int[] a = new int[N];

    for (int i = 0; i < N; i++) {
      a[i] = sc.nextInt();
    }

    long opCnt = 0;
    for (int i = 0; i < N; i++) {
      int tmp = a[i];
      while(tmp % 2 == 0){
        tmp = tmp / 2;
        opCnt++;
      }
    }

    System.out.println(opCnt);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int[] a = new int[N]; a new int[N] N for (int i = 0; i < N; i++) {
      a[i] = sc.nextInt();
    } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
      a[i] = sc.nextInt();
    } {
      a[i] = sc.nextInt();
    } a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc long opCnt = 0; opCnt 0 for (int i = 0; i < N; i++) {
      int tmp = a[i];
      while(tmp % 2 == 0){
        tmp = tmp / 2;
        opCnt++;
      }
    } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
      int tmp = a[i];
      while(tmp % 2 == 0){
        tmp = tmp / 2;
        opCnt++;
      }
    } {
      int tmp = a[i];
      while(tmp % 2 == 0){
        tmp = tmp / 2;
        opCnt++;
      }
    } int tmp = a[i]; tmp a[i] a i while(tmp % 2 == 0){
        tmp = tmp / 2;
        opCnt++;
      } tmp % 2 == 0 tmp % 2 tmp 2 0 {
        tmp = tmp / 2;
        opCnt++;
      } tmp = tmp / 2 tmp tmp / 2 tmp 2 opCnt++ opCnt System.out.println(opCnt) System.out.println System.out System System.out opCnt String[] args args public class Main {
  public static void main(String[] args ){
    Scanner sc = new Scanner(System.in);

    int N = sc.nextInt();

    int[] a = new int[N];

    for (int i = 0; i < N; i++) {
      a[i] = sc.nextInt();
    }

    long opCnt = 0;
    for (int i = 0; i < N; i++) {
      int tmp = a[i];
      while(tmp % 2 == 0){
        tmp = tmp / 2;
        opCnt++;
      }
    }

    System.out.println(opCnt);
  }
} public class Main {
  public static void main(String[] args ){
    Scanner sc = new Scanner(System.in);

    int N = sc.nextInt();

    int[] a = new int[N];

    for (int i = 0; i < N; i++) {
      a[i] = sc.nextInt();
    }

    long opCnt = 0;
    for (int i = 0; i < N; i++) {
      int tmp = a[i];
      while(tmp % 2 == 0){
        tmp = tmp / 2;
        opCnt++;
      }
    }

    System.out.println(opCnt);
  }
} Main
import java.util.Scanner;
import java.util.Arrays;
import java.util.stream.Stream;
import java.util.stream.IntStream;
import java.lang.StringBuilder;

public class Main {
  public static void main(String[] args ){
    Scanner sc = new Scanner(System.in);

    int N = sc.nextInt();

    int[] a = new int[N];

    for (int i = 0; i < N; i++) {
      a[i] = sc.nextInt();
    }

    long opCnt = 0;
    for (int i = 0; i < N; i++) {
      int tmp = a[i];
      while(tmp % 2 == 0){
        tmp = tmp / 2;
        opCnt++;
      }
    }

    System.out.println(opCnt);
  }
}
