import java.util.Scanner;

class Solver {

    private final int N;
    private final int[] A;

    Solver(Scanner in){
        N = in.nextInt();
        A = new int[N];
        for (int i = 0; i < A.length; i++) {
            A[i] = in.nextInt();
        }
    }

    void solve() {
        int counter = 0;
        for (int value : A) {
            counter += Integer.numberOfTrailingZeros(value);
        }
        System.out.println(counter);
    }
}

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

        new Solver(in).solve();

        in.close();
    }
} import java.util.Scanner; Scanner java.util class Solver {

    private final int N;
    private final int[] A;

    Solver(Scanner in){
        N = in.nextInt();
        A = new int[N];
        for (int i = 0; i < A.length; i++) {
            A[i] = in.nextInt();
        }
    }

    void solve() {
        int counter = 0;
        for (int value : A) {
            counter += Integer.numberOfTrailingZeros(value);
        }
        System.out.println(counter);
    }
} Solver private final int N; N private final int[] A; A Solver(Scanner in){
        N = in.nextInt();
        A = new int[N];
        for (int i = 0; i < A.length; i++) {
            A[i] = in.nextInt();
        }
    } Solver {
        N = in.nextInt();
        A = new int[N];
        for (int i = 0; i < A.length; i++) {
            A[i] = in.nextInt();
        }
    } N = in.nextInt() N in.nextInt() in.nextInt in A = new int[N] A new int[N] N for (int i = 0; i < A.length; i++) {
            A[i] = in.nextInt();
        } int i = 0; int i = 0; i 0 i < A.length i A.length A A.length i++ i++ i {
            A[i] = in.nextInt();
        } {
            A[i] = in.nextInt();
        } A[i] = in.nextInt() A[i] A i in.nextInt() in.nextInt in Scanner in in void solve() {
        int counter = 0;
        for (int value : A) {
            counter += Integer.numberOfTrailingZeros(value);
        }
        System.out.println(counter);
    } solve {
        int counter = 0;
        for (int value : A) {
            counter += Integer.numberOfTrailingZeros(value);
        }
        System.out.println(counter);
    } int counter = 0; counter 0 for (int value : A) {
            counter += Integer.numberOfTrailingZeros(value);
        } int value A {
            counter += Integer.numberOfTrailingZeros(value);
        } {
            counter += Integer.numberOfTrailingZeros(value);
        } counter += Integer.numberOfTrailingZeros(value) counter Integer.numberOfTrailingZeros(value) Integer.numberOfTrailingZeros Integer value System.out.println(counter) System.out.println System.out System System.out counter class Main{
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);

        new Solver(in).solve();

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

        new Solver(in).solve();

        in.close();
    } main {
        Scanner in = new Scanner(System.in);

        new Solver(in).solve();

        in.close();
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) new Solver(in).solve() new Solver(in).solve new Solver(in) in.close() in.close in String[] args args
import java.util.Scanner;

class Solver {

    private final int N;
    private final int[] A;

    Solver(Scanner in){
        N = in.nextInt();
        A = new int[N];
        for (int i = 0; i < A.length; i++) {
            A[i] = in.nextInt();
        }
    }

    void solve() {
        int counter = 0;
        for (int value : A) {
            counter += Integer.numberOfTrailingZeros(value);
        }
        System.out.println(counter);
    }
}

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

        new Solver(in).solve();

        in.close();
    }
}