import java.util.*;

public class Main {
    public static void main(String[] args) {
      
      Scanner sc = new Scanner(System.in);
      int N = Integer.parseInt(sc.nextLine());   // データの個数
      String line = sc.nextLine();
      String[] dataInfo = line.split("\\s+");
      
      int counter = 0;
      
      for (int i = 0; i < N; i++) {
      
          int tmpNumber = Integer.parseInt(dataInfo[i]);
          // 2で割り切れなくなったら終了
          while (tmpNumber % 2 == 0) {
              tmpNumber = tmpNumber / 2;
              counter++;
          }
      }

      System.out.println(counter);
      sc.close();
    }

} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
      
      Scanner sc = new Scanner(System.in);
      int N = Integer.parseInt(sc.nextLine());   // データの個数
      String line = sc.nextLine();
      String[] dataInfo = line.split("\\s+");
      
      int counter = 0;
      
      for (int i = 0; i < N; i++) {
      
          int tmpNumber = Integer.parseInt(dataInfo[i]);
          // 2で割り切れなくなったら終了
          while (tmpNumber % 2 == 0) {
              tmpNumber = tmpNumber / 2;
              counter++;
          }
      }

      System.out.println(counter);
      sc.close();
    }

} Main public static void main(String[] args) {
      
      Scanner sc = new Scanner(System.in);
      int N = Integer.parseInt(sc.nextLine());   // データの個数
      String line = sc.nextLine();
      String[] dataInfo = line.split("\\s+");
      
      int counter = 0;
      
      for (int i = 0; i < N; i++) {
      
          int tmpNumber = Integer.parseInt(dataInfo[i]);
          // 2で割り切れなくなったら終了
          while (tmpNumber % 2 == 0) {
              tmpNumber = tmpNumber / 2;
              counter++;
          }
      }

      System.out.println(counter);
      sc.close();
    } main {
      
      Scanner sc = new Scanner(System.in);
      int N = Integer.parseInt(sc.nextLine());   // データの個数
      String line = sc.nextLine();
      String[] dataInfo = line.split("\\s+");
      
      int counter = 0;
      
      for (int i = 0; i < N; i++) {
      
          int tmpNumber = Integer.parseInt(dataInfo[i]);
          // 2で割り切れなくなったら終了
          while (tmpNumber % 2 == 0) {
              tmpNumber = tmpNumber / 2;
              counter++;
          }
      }

      System.out.println(counter);
      sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = Integer.parseInt(sc.nextLine()); N Integer.parseInt(sc.nextLine()) Integer.parseInt Integer sc.nextLine() sc.nextLine sc String line = sc.nextLine(); line sc.nextLine() sc.nextLine sc String[] dataInfo = line.split("\\s+"); dataInfo line.split("\\s+") line.split line "\\s+" int counter = 0; counter 0 for (int i = 0; i < N; i++) {
      
          int tmpNumber = Integer.parseInt(dataInfo[i]);
          // 2で割り切れなくなったら終了
          while (tmpNumber % 2 == 0) {
              tmpNumber = tmpNumber / 2;
              counter++;
          }
      } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
      
          int tmpNumber = Integer.parseInt(dataInfo[i]);
          // 2で割り切れなくなったら終了
          while (tmpNumber % 2 == 0) {
              tmpNumber = tmpNumber / 2;
              counter++;
          }
      } {
      
          int tmpNumber = Integer.parseInt(dataInfo[i]);
          // 2で割り切れなくなったら終了
          while (tmpNumber % 2 == 0) {
              tmpNumber = tmpNumber / 2;
              counter++;
          }
      } int tmpNumber = Integer.parseInt(dataInfo[i]); tmpNumber Integer.parseInt(dataInfo[i]) Integer.parseInt Integer dataInfo[i] dataInfo i while (tmpNumber % 2 == 0) {
              tmpNumber = tmpNumber / 2;
              counter++;
          } tmpNumber % 2 == 0 tmpNumber % 2 tmpNumber 2 0 {
              tmpNumber = tmpNumber / 2;
              counter++;
          } tmpNumber = tmpNumber / 2 tmpNumber tmpNumber / 2 tmpNumber 2 counter++ counter System.out.println(counter) System.out.println System.out System System.out counter sc.close() sc.close sc String[] args args public class Main {
    public static void main(String[] args) {
      
      Scanner sc = new Scanner(System.in);
      int N = Integer.parseInt(sc.nextLine());   // データの個数
      String line = sc.nextLine();
      String[] dataInfo = line.split("\\s+");
      
      int counter = 0;
      
      for (int i = 0; i < N; i++) {
      
          int tmpNumber = Integer.parseInt(dataInfo[i]);
          // 2で割り切れなくなったら終了
          while (tmpNumber % 2 == 0) {
              tmpNumber = tmpNumber / 2;
              counter++;
          }
      }

      System.out.println(counter);
      sc.close();
    }

} public class Main {
    public static void main(String[] args) {
      
      Scanner sc = new Scanner(System.in);
      int N = Integer.parseInt(sc.nextLine());   // データの個数
      String line = sc.nextLine();
      String[] dataInfo = line.split("\\s+");
      
      int counter = 0;
      
      for (int i = 0; i < N; i++) {
      
          int tmpNumber = Integer.parseInt(dataInfo[i]);
          // 2で割り切れなくなったら終了
          while (tmpNumber % 2 == 0) {
              tmpNumber = tmpNumber / 2;
              counter++;
          }
      }

      System.out.println(counter);
      sc.close();
    }

} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {
      
      Scanner sc = new Scanner(System.in);
      int N = Integer.parseInt(sc.nextLine());   // データの個数
      String line = sc.nextLine();
      String[] dataInfo = line.split("\\s+");
      
      int counter = 0;
      
      for (int i = 0; i < N; i++) {
      
          int tmpNumber = Integer.parseInt(dataInfo[i]);
          // 2で割り切れなくなったら終了
          while (tmpNumber % 2 == 0) {
              tmpNumber = tmpNumber / 2;
              counter++;
          }
      }

      System.out.println(counter);
      sc.close();
    }

}