import java.util.*;

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();
    }
    int k=0;
    for(int i=0;i<n;i++){
      while((a[i]&1)==0){
        a[i]/=2;
        k++;
      }
    }
    System.out.println(k);
  }
} import java.util.*; util.* java 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();
    }
    int k=0;
    for(int i=0;i<n;i++){
      while((a[i]&1)==0){
        a[i]/=2;
        k++;
      }
    }
    System.out.println(k);
  }
} 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();
    }
    int k=0;
    for(int i=0;i<n;i++){
      while((a[i]&1)==0){
        a[i]/=2;
        k++;
      }
    }
    System.out.println(k);
  } 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();
    }
    int k=0;
    for(int i=0;i<n;i++){
      while((a[i]&1)==0){
        a[i]/=2;
        k++;
      }
    }
    System.out.println(k);
  } 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 int k=0; k 0 for(int i=0;i<n;i++){
      while((a[i]&1)==0){
        a[i]/=2;
        k++;
      }
    } int i=0; int i=0; i 0 i<n i n i++ i++ i {
      while((a[i]&1)==0){
        a[i]/=2;
        k++;
      }
    } {
      while((a[i]&1)==0){
        a[i]/=2;
        k++;
      }
    } while((a[i]&1)==0){
        a[i]/=2;
        k++;
      } (a[i]&1)==0 (a[i]&1) a[i] a i 1 0 {
        a[i]/=2;
        k++;
      } a[i]/=2 a[i] a i 2 k++ k System.out.println(k) System.out.println System.out System System.out k String[] args args
import java.util.*;

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();
    }
    int k=0;
    for(int i=0;i<n;i++){
      while((a[i]&1)==0){
        a[i]/=2;
        k++;
      }
    }
    System.out.println(k);
  }
}