import java.util.*;

class Main {
  public static void main(String[] args) {
    Scanner in = new Scanner(System.in);
    int N = in.nextInt();
    int[] a = new int[10000 + 1];
    for (int i = 0; i < N; i++) {
      a[i] = in.nextInt();
    }
    in.close();

    int cnt = 0;
    for (int i = 0; i < N; i++) {
      int t = a[i];
      while (t % 2 == 0) {
        t /= 2;
        cnt++;
      }
    }
    System.out.println(cnt);
  }
} import java.util.*; util.* java class Main {
  public static void main(String[] args) {
    Scanner in = new Scanner(System.in);
    int N = in.nextInt();
    int[] a = new int[10000 + 1];
    for (int i = 0; i < N; i++) {
      a[i] = in.nextInt();
    }
    in.close();

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

    int cnt = 0;
    for (int i = 0; i < N; i++) {
      int t = a[i];
      while (t % 2 == 0) {
        t /= 2;
        cnt++;
      }
    }
    System.out.println(cnt);
  } main {
    Scanner in = new Scanner(System.in);
    int N = in.nextInt();
    int[] a = new int[10000 + 1];
    for (int i = 0; i < N; i++) {
      a[i] = in.nextInt();
    }
    in.close();

    int cnt = 0;
    for (int i = 0; i < N; i++) {
      int t = a[i];
      while (t % 2 == 0) {
        t /= 2;
        cnt++;
      }
    }
    System.out.println(cnt);
  } Scanner in = new Scanner(System.in); in new Scanner(System.in) int N = in.nextInt(); N in.nextInt() in.nextInt in int[] a = new int[10000 + 1]; a new int[10000 + 1] 10000 + 1 10000 1 for (int i = 0; i < N; i++) {
      a[i] = in.nextInt();
    } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
      a[i] = in.nextInt();
    } {
      a[i] = in.nextInt();
    } a[i] = in.nextInt() a[i] a i in.nextInt() in.nextInt in in.close() in.close in int cnt = 0; cnt 0 for (int i = 0; i < N; i++) {
      int t = a[i];
      while (t % 2 == 0) {
        t /= 2;
        cnt++;
      }
    } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
      int t = a[i];
      while (t % 2 == 0) {
        t /= 2;
        cnt++;
      }
    } {
      int t = a[i];
      while (t % 2 == 0) {
        t /= 2;
        cnt++;
      }
    } int t = a[i]; t a[i] a i while (t % 2 == 0) {
        t /= 2;
        cnt++;
      } t % 2 == 0 t % 2 t 2 0 {
        t /= 2;
        cnt++;
      } t /= 2 t 2 cnt++ cnt System.out.println(cnt) System.out.println System.out System System.out cnt String[] args args
import java.util.*;

class Main {
  public static void main(String[] args) {
    Scanner in = new Scanner(System.in);
    int N = in.nextInt();
    int[] a = new int[10000 + 1];
    for (int i = 0; i < N; i++) {
      a[i] = in.nextInt();
    }
    in.close();

    int cnt = 0;
    for (int i = 0; i < N; i++) {
      int t = a[i];
      while (t % 2 == 0) {
        t /= 2;
        cnt++;
      }
    }
    System.out.println(cnt);
  }
}
