import java.util.*;

class Main{
  public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    int N=sc.nextInt();
    int ANS=0;
    
    for(int i=0;i<N;i++){
      Long NEXT=sc.nextLong();
      while(NEXT%2==0){
        NEXT=NEXT/2;
        ANS++;
      }
    }
    
    System.out.println(ANS);
  }
} import java.util.*; util.* java class Main{
  public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    int N=sc.nextInt();
    int ANS=0;
    
    for(int i=0;i<N;i++){
      Long NEXT=sc.nextLong();
      while(NEXT%2==0){
        NEXT=NEXT/2;
        ANS++;
      }
    }
    
    System.out.println(ANS);
  }
} Main public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    int N=sc.nextInt();
    int ANS=0;
    
    for(int i=0;i<N;i++){
      Long NEXT=sc.nextLong();
      while(NEXT%2==0){
        NEXT=NEXT/2;
        ANS++;
      }
    }
    
    System.out.println(ANS);
  } main {
    Scanner sc=new Scanner(System.in);
    int N=sc.nextInt();
    int ANS=0;
    
    for(int i=0;i<N;i++){
      Long NEXT=sc.nextLong();
      while(NEXT%2==0){
        NEXT=NEXT/2;
        ANS++;
      }
    }
    
    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 int ANS=0; ANS 0 for(int i=0;i<N;i++){
      Long NEXT=sc.nextLong();
      while(NEXT%2==0){
        NEXT=NEXT/2;
        ANS++;
      }
    } int i=0; int i=0; i 0 i<N i N i++ i++ i {
      Long NEXT=sc.nextLong();
      while(NEXT%2==0){
        NEXT=NEXT/2;
        ANS++;
      }
    } {
      Long NEXT=sc.nextLong();
      while(NEXT%2==0){
        NEXT=NEXT/2;
        ANS++;
      }
    } Long NEXT=sc.nextLong(); NEXT sc.nextLong() sc.nextLong sc while(NEXT%2==0){
        NEXT=NEXT/2;
        ANS++;
      } NEXT%2==0 NEXT%2 NEXT 2 0 {
        NEXT=NEXT/2;
        ANS++;
      } NEXT=NEXT/2 NEXT NEXT/2 NEXT 2 ANS++ ANS System.out.println(ANS) System.out.println System.out System System.out ANS 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 ANS=0;
    
    for(int i=0;i<N;i++){
      Long NEXT=sc.nextLong();
      while(NEXT%2==0){
        NEXT=NEXT/2;
        ANS++;
      }
    }
    
    System.out.println(ANS);
  }
}