import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        Scanner input = new Scanner(System.in);

        while(input.hasNext()){
            int N = input.nextInt();
            int count2 = 0;

            while(N > 0){
                 int a = input.nextInt();

                 while(a % 2 == 0){
                       ++count2;
                       a /= 2;
                 }

                 --N;
            }

            System.out.println(count2);
       }
    }
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args){
        Scanner input = new Scanner(System.in);

        while(input.hasNext()){
            int N = input.nextInt();
            int count2 = 0;

            while(N > 0){
                 int a = input.nextInt();

                 while(a % 2 == 0){
                       ++count2;
                       a /= 2;
                 }

                 --N;
            }

            System.out.println(count2);
       }
    }
} Main public static void main(String[] args){
        Scanner input = new Scanner(System.in);

        while(input.hasNext()){
            int N = input.nextInt();
            int count2 = 0;

            while(N > 0){
                 int a = input.nextInt();

                 while(a % 2 == 0){
                       ++count2;
                       a /= 2;
                 }

                 --N;
            }

            System.out.println(count2);
       }
    } main {
        Scanner input = new Scanner(System.in);

        while(input.hasNext()){
            int N = input.nextInt();
            int count2 = 0;

            while(N > 0){
                 int a = input.nextInt();

                 while(a % 2 == 0){
                       ++count2;
                       a /= 2;
                 }

                 --N;
            }

            System.out.println(count2);
       }
    } Scanner input = new Scanner(System.in); input new Scanner(System.in) while(input.hasNext()){
            int N = input.nextInt();
            int count2 = 0;

            while(N > 0){
                 int a = input.nextInt();

                 while(a % 2 == 0){
                       ++count2;
                       a /= 2;
                 }

                 --N;
            }

            System.out.println(count2);
       } input.hasNext() input.hasNext input {
            int N = input.nextInt();
            int count2 = 0;

            while(N > 0){
                 int a = input.nextInt();

                 while(a % 2 == 0){
                       ++count2;
                       a /= 2;
                 }

                 --N;
            }

            System.out.println(count2);
       } int N = input.nextInt(); N input.nextInt() input.nextInt input int count2 = 0; count2 0 while(N > 0){
                 int a = input.nextInt();

                 while(a % 2 == 0){
                       ++count2;
                       a /= 2;
                 }

                 --N;
            } N > 0 N 0 {
                 int a = input.nextInt();

                 while(a % 2 == 0){
                       ++count2;
                       a /= 2;
                 }

                 --N;
            } int a = input.nextInt(); a input.nextInt() input.nextInt input while(a % 2 == 0){
                       ++count2;
                       a /= 2;
                 } a % 2 == 0 a % 2 a 2 0 {
                       ++count2;
                       a /= 2;
                 } ++count2 count2 a /= 2 a 2 --N N System.out.println(count2) System.out.println System.out System System.out count2 String[] args args public class Main{
    public static void main(String[] args){
        Scanner input = new Scanner(System.in);

        while(input.hasNext()){
            int N = input.nextInt();
            int count2 = 0;

            while(N > 0){
                 int a = input.nextInt();

                 while(a % 2 == 0){
                       ++count2;
                       a /= 2;
                 }

                 --N;
            }

            System.out.println(count2);
       }
    }
} public class Main{
    public static void main(String[] args){
        Scanner input = new Scanner(System.in);

        while(input.hasNext()){
            int N = input.nextInt();
            int count2 = 0;

            while(N > 0){
                 int a = input.nextInt();

                 while(a % 2 == 0){
                       ++count2;
                       a /= 2;
                 }

                 --N;
            }

            System.out.println(count2);
       }
    }
} Main
import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        Scanner input = new Scanner(System.in);

        while(input.hasNext()){
            int N = input.nextInt();
            int count2 = 0;

            while(N > 0){
                 int a = input.nextInt();

                 while(a % 2 == 0){
                       ++count2;
                       a /= 2;
                 }

                 --N;
            }

            System.out.println(count2);
       }
    }
}