import java.util.Scanner;

public class Main {
    public static void main(String args[]) {
        try (Scanner in = new Scanner(System.in)) {
            int N = in.nextInt();
            int[] a = new int[N];
            for (int i = 0; i < a.length; i++) {
                a[i] = in.nextInt();
            }

            int count = 0;
            for (int i = 0; i < a.length; i++) {
                while (a[i] % 2 == 0) {
                    a[i] /= 2;
                    count++;
                }
            }
            System.out.println(count);
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String args[]) {
        try (Scanner in = new Scanner(System.in)) {
            int N = in.nextInt();
            int[] a = new int[N];
            for (int i = 0; i < a.length; i++) {
                a[i] = in.nextInt();
            }

            int count = 0;
            for (int i = 0; i < a.length; i++) {
                while (a[i] % 2 == 0) {
                    a[i] /= 2;
                    count++;
                }
            }
            System.out.println(count);
        }
    }
} Main public static void main(String args[]) {
        try (Scanner in = new Scanner(System.in)) {
            int N = in.nextInt();
            int[] a = new int[N];
            for (int i = 0; i < a.length; i++) {
                a[i] = in.nextInt();
            }

            int count = 0;
            for (int i = 0; i < a.length; i++) {
                while (a[i] % 2 == 0) {
                    a[i] /= 2;
                    count++;
                }
            }
            System.out.println(count);
        }
    } main {
        try (Scanner in = new Scanner(System.in)) {
            int N = in.nextInt();
            int[] a = new int[N];
            for (int i = 0; i < a.length; i++) {
                a[i] = in.nextInt();
            }

            int count = 0;
            for (int i = 0; i < a.length; i++) {
                while (a[i] % 2 == 0) {
                    a[i] /= 2;
                    count++;
                }
            }
            System.out.println(count);
        }
    } try (Scanner in = new Scanner(System.in)) {
            int N = in.nextInt();
            int[] a = new int[N];
            for (int i = 0; i < a.length; i++) {
                a[i] = in.nextInt();
            }

            int count = 0;
            for (int i = 0; i < a.length; i++) {
                while (a[i] % 2 == 0) {
                    a[i] /= 2;
                    count++;
                }
            }
            System.out.println(count);
        } {
            int N = in.nextInt();
            int[] a = new int[N];
            for (int i = 0; i < a.length; i++) {
                a[i] = in.nextInt();
            }

            int count = 0;
            for (int i = 0; i < a.length; i++) {
                while (a[i] % 2 == 0) {
                    a[i] /= 2;
                    count++;
                }
            }
            System.out.println(count);
        } Scanner in = new Scanner(System.in) Scanner in = new Scanner(System.in) new Scanner(System.in) int N = in.nextInt(); N in.nextInt() in.nextInt in int[] 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 int count = 0; count 0 for (int i = 0; i < a.length; i++) {
                while (a[i] % 2 == 0) {
                    a[i] /= 2;
                    count++;
                }
            } int i = 0; int i = 0; i 0 i < a.length i a.length a a.length i++ i++ i {
                while (a[i] % 2 == 0) {
                    a[i] /= 2;
                    count++;
                }
            } {
                while (a[i] % 2 == 0) {
                    a[i] /= 2;
                    count++;
                }
            } while (a[i] % 2 == 0) {
                    a[i] /= 2;
                    count++;
                } a[i] % 2 == 0 a[i] % 2 a[i] a i 2 0 {
                    a[i] /= 2;
                    count++;
                } a[i] /= 2 a[i] a i 2 count++ count System.out.println(count) System.out.println System.out System System.out count String args[] args public class Main {
    public static void main(String args[]) {
        try (Scanner in = new Scanner(System.in)) {
            int N = in.nextInt();
            int[] a = new int[N];
            for (int i = 0; i < a.length; i++) {
                a[i] = in.nextInt();
            }

            int count = 0;
            for (int i = 0; i < a.length; i++) {
                while (a[i] % 2 == 0) {
                    a[i] /= 2;
                    count++;
                }
            }
            System.out.println(count);
        }
    }
} public class Main {
    public static void main(String args[]) {
        try (Scanner in = new Scanner(System.in)) {
            int N = in.nextInt();
            int[] a = new int[N];
            for (int i = 0; i < a.length; i++) {
                a[i] = in.nextInt();
            }

            int count = 0;
            for (int i = 0; i < a.length; i++) {
                while (a[i] % 2 == 0) {
                    a[i] /= 2;
                    count++;
                }
            }
            System.out.println(count);
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String args[]) {
        try (Scanner in = new Scanner(System.in)) {
            int N = in.nextInt();
            int[] a = new int[N];
            for (int i = 0; i < a.length; i++) {
                a[i] = in.nextInt();
            }

            int count = 0;
            for (int i = 0; i < a.length; i++) {
                while (a[i] % 2 == 0) {
                    a[i] /= 2;
                    count++;
                }
            }
            System.out.println(count);
        }
    }
}
