import java.util.Scanner;

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

        int N = sc.nextInt();
        int[] ary = new int[N];

        for (int i = 0; i < N; i++) {
            ary[i] = sc.nextInt();
        }

        int answer = 0;

        for (int i = 0; i < N; i++) {
            while (true) {
                if (ary[i] % 2 == 0) {
                    ary[i] /= 2;
                    answer += 1;
                }
                else {
                    break;
                }
            }
        }

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

        int N = sc.nextInt();
        int[] ary = new int[N];

        for (int i = 0; i < N; i++) {
            ary[i] = sc.nextInt();
        }

        int answer = 0;

        for (int i = 0; i < N; i++) {
            while (true) {
                if (ary[i] % 2 == 0) {
                    ary[i] /= 2;
                    answer += 1;
                }
                else {
                    break;
                }
            }
        }

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

        int N = sc.nextInt();
        int[] ary = new int[N];

        for (int i = 0; i < N; i++) {
            ary[i] = sc.nextInt();
        }

        int answer = 0;

        for (int i = 0; i < N; i++) {
            while (true) {
                if (ary[i] % 2 == 0) {
                    ary[i] /= 2;
                    answer += 1;
                }
                else {
                    break;
                }
            }
        }

        System.out.println(answer);
    } main {
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();
        int[] ary = new int[N];

        for (int i = 0; i < N; i++) {
            ary[i] = sc.nextInt();
        }

        int answer = 0;

        for (int i = 0; i < N; i++) {
            while (true) {
                if (ary[i] % 2 == 0) {
                    ary[i] /= 2;
                    answer += 1;
                }
                else {
                    break;
                }
            }
        }

        System.out.println(answer);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int[] ary = new int[N]; ary new int[N] N for (int i = 0; i < N; i++) {
            ary[i] = sc.nextInt();
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            ary[i] = sc.nextInt();
        } {
            ary[i] = sc.nextInt();
        } ary[i] = sc.nextInt() ary[i] ary i sc.nextInt() sc.nextInt sc int answer = 0; answer 0 for (int i = 0; i < N; i++) {
            while (true) {
                if (ary[i] % 2 == 0) {
                    ary[i] /= 2;
                    answer += 1;
                }
                else {
                    break;
                }
            }
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            while (true) {
                if (ary[i] % 2 == 0) {
                    ary[i] /= 2;
                    answer += 1;
                }
                else {
                    break;
                }
            }
        } {
            while (true) {
                if (ary[i] % 2 == 0) {
                    ary[i] /= 2;
                    answer += 1;
                }
                else {
                    break;
                }
            }
        } while (true) {
                if (ary[i] % 2 == 0) {
                    ary[i] /= 2;
                    answer += 1;
                }
                else {
                    break;
                }
            } true {
                if (ary[i] % 2 == 0) {
                    ary[i] /= 2;
                    answer += 1;
                }
                else {
                    break;
                }
            } if (ary[i] % 2 == 0) {
                    ary[i] /= 2;
                    answer += 1;
                }
                else {
                    break;
                } ary[i] % 2 == 0 ary[i] % 2 ary[i] ary i 2 0 {
                    ary[i] /= 2;
                    answer += 1;
                } ary[i] /= 2 ary[i] ary i 2 answer += 1 answer 1 {
                    break;
                } break; System.out.println(answer) System.out.println System.out System System.out answer String[] args args
import java.util.Scanner;

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

        int N = sc.nextInt();
        int[] ary = new int[N];

        for (int i = 0; i < N; i++) {
            ary[i] = sc.nextInt();
        }

        int answer = 0;

        for (int i = 0; i < N; i++) {
            while (true) {
                if (ary[i] % 2 == 0) {
                    ary[i] /= 2;
                    answer += 1;
                }
                else {
                    break;
                }
            }
        }

        System.out.println(answer);
    }
}
