import 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 num = sc.nextInt();
            while (num % 2 == 0) {
                ans++;
                num /= 2;
            }
        }

        System.out.println(ans);

        sc.close();

    }

} import java.util.*; util.* java 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 num = sc.nextInt();
            while (num % 2 == 0) {
                ans++;
                num /= 2;
            }
        }

        System.out.println(ans);

        sc.close();

    }

} 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 num = sc.nextInt();
            while (num % 2 == 0) {
                ans++;
                num /= 2;
            }
        }

        System.out.println(ans);

        sc.close();

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

        int n = sc.nextInt();
        int ans = 0;

        for (int i = 0; i < n; i++) {
            int num = sc.nextInt();
            while (num % 2 == 0) {
                ans++;
                num /= 2;
            }
        }

        System.out.println(ans);

        sc.close();

    } 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 num = sc.nextInt();
            while (num % 2 == 0) {
                ans++;
                num /= 2;
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            int num = sc.nextInt();
            while (num % 2 == 0) {
                ans++;
                num /= 2;
            }
        } {
            int num = sc.nextInt();
            while (num % 2 == 0) {
                ans++;
                num /= 2;
            }
        } int num = sc.nextInt(); num sc.nextInt() sc.nextInt sc while (num % 2 == 0) {
                ans++;
                num /= 2;
            } num % 2 == 0 num % 2 num 2 0 {
                ans++;
                num /= 2;
            } ans++ ans num /= 2 num 2 System.out.println(ans) System.out.println System.out System System.out ans sc.close() sc.close sc String[] args args 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 num = sc.nextInt();
            while (num % 2 == 0) {
                ans++;
                num /= 2;
            }
        }

        System.out.println(ans);

        sc.close();

    }

} 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 num = sc.nextInt();
            while (num % 2 == 0) {
                ans++;
                num /= 2;
            }
        }

        System.out.println(ans);

        sc.close();

    }

} Main
import 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 num = sc.nextInt();
            while (num % 2 == 0) {
                ans++;
                num /= 2;
            }
        }

        System.out.println(ans);

        sc.close();

    }

}