import java.util.*;

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

  public static int gcd(int a, int b){
    if(b == 0) return a;
    return gcd(b, a%b);
  }
} import java.util.*; util.* java class Main {
  public static final long MOD = 1000000007;
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    Integer a[] = new Integer[N];
    int ans = 0;
    for(int i=0; i<N; i++){
      a[i] = sc.nextInt();
      while(a[i] % 2 == 0){
        ans++;
        a[i] /= 2;
      }
    }
    
    System.out.println(ans);
    
  }

  public static int gcd(int a, int b){
    if(b == 0) return a;
    return gcd(b, a%b);
  }
} Main public static final long MOD = 1000000007; MOD 1000000007 public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    Integer a[] = new Integer[N];
    int ans = 0;
    for(int i=0; i<N; i++){
      a[i] = sc.nextInt();
      while(a[i] % 2 == 0){
        ans++;
        a[i] /= 2;
      }
    }
    
    System.out.println(ans);
    
  } main {
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    Integer a[] = new Integer[N];
    int ans = 0;
    for(int i=0; i<N; i++){
      a[i] = sc.nextInt();
      while(a[i] % 2 == 0){
        ans++;
        a[i] /= 2;
      }
    }
    
    System.out.println(ans);
    
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc Integer a[] = new Integer[N]; a new Integer[N] N int ans = 0; ans 0 for(int i=0; i<N; i++){
      a[i] = sc.nextInt();
      while(a[i] % 2 == 0){
        ans++;
        a[i] /= 2;
      }
    } int i=0; int i=0; i 0 i<N i N i++ i++ i {
      a[i] = sc.nextInt();
      while(a[i] % 2 == 0){
        ans++;
        a[i] /= 2;
      }
    } {
      a[i] = sc.nextInt();
      while(a[i] % 2 == 0){
        ans++;
        a[i] /= 2;
      }
    } a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc while(a[i] % 2 == 0){
        ans++;
        a[i] /= 2;
      } a[i] % 2 == 0 a[i] % 2 a[i] a i 2 0 {
        ans++;
        a[i] /= 2;
      } ans++ ans a[i] /= 2 a[i] a i 2 System.out.println(ans) System.out.println System.out System System.out ans String[] args args public static int gcd(int a, int b){
    if(b == 0) return a;
    return gcd(b, a%b);
  } gcd {
    if(b == 0) return a;
    return gcd(b, a%b);
  } if(b == 0) return a; b == 0 b 0 return a; a return gcd(b, a%b); gcd(b, a%b) gcd b a%b a b int a a int b b
import java.util.*;

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

  public static int gcd(int a, int b){
    if(b == 0) return a;
    return gcd(b, a%b);
  }
}