import java.util.Scanner;

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

        for (int i = 0; i < n; i++) {
            int a = sc.nextInt();
            ans += solve(a);
        }

        sc.close();

        System.out.println(ans);
    }

    private static int solve(int num) {
        if (num % 2 != 0) {
            return 0;
        } else {
            return solve(num / 2) + 1;
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int ans = 0;

        for (int i = 0; i < n; i++) {
            int a = sc.nextInt();
            ans += solve(a);
        }

        sc.close();

        System.out.println(ans);
    }

    private static int solve(int num) {
        if (num % 2 != 0) {
            return 0;
        } else {
            return solve(num / 2) + 1;
        }
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int ans = 0;

        for (int i = 0; i < n; i++) {
            int a = sc.nextInt();
            ans += solve(a);
        }

        sc.close();

        System.out.println(ans);
    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int ans = 0;

        for (int i = 0; i < n; i++) {
            int a = sc.nextInt();
            ans += solve(a);
        }

        sc.close();

        System.out.println(ans);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int ans = 0; ans 0 for (int i = 0; i < n; i++) {
            int a = sc.nextInt();
            ans += solve(a);
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            int a = sc.nextInt();
            ans += solve(a);
        } {
            int a = sc.nextInt();
            ans += solve(a);
        } int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc ans += solve(a) ans solve(a) solve a sc.close() sc.close sc System.out.println(ans) System.out.println System.out System System.out ans String[] args args private static int solve(int num) {
        if (num % 2 != 0) {
            return 0;
        } else {
            return solve(num / 2) + 1;
        }
    } solve {
        if (num % 2 != 0) {
            return 0;
        } else {
            return solve(num / 2) + 1;
        }
    } if (num % 2 != 0) {
            return 0;
        } else {
            return solve(num / 2) + 1;
        } num % 2 != 0 num % 2 num 2 0 {
            return 0;
        } return 0; 0 {
            return solve(num / 2) + 1;
        } return solve(num / 2) + 1; solve(num / 2) + 1 solve(num / 2) solve num / 2 num 2 1 int num num public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int ans = 0;

        for (int i = 0; i < n; i++) {
            int a = sc.nextInt();
            ans += solve(a);
        }

        sc.close();

        System.out.println(ans);
    }

    private static int solve(int num) {
        if (num % 2 != 0) {
            return 0;
        } else {
            return solve(num / 2) + 1;
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int ans = 0;

        for (int i = 0; i < n; i++) {
            int a = sc.nextInt();
            ans += solve(a);
        }

        sc.close();

        System.out.println(ans);
    }

    private static int solve(int num) {
        if (num % 2 != 0) {
            return 0;
        } else {
            return solve(num / 2) + 1;
        }
    }
} Main
import java.util.Scanner;

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

        for (int i = 0; i < n; i++) {
            int a = sc.nextInt();
            ans += solve(a);
        }

        sc.close();

        System.out.println(ans);
    }

    private static int solve(int num) {
        if (num % 2 != 0) {
            return 0;
        } else {
            return solve(num / 2) + 1;
        }
    }
}