import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        // write your code here
        Scanner scanner = new Scanner(System.in);

        int count = 0;
        int N = scanner.nextInt();

        for (int i = 0; i < N; i++) {
            int temp = scanner.nextInt();
            if (temp % 2 != 0) continue;
            while (temp % 2 == 0 && temp != 0) {
                temp /= 2;
                count ++;
            }
        }
        System.out.println(count);
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        // write your code here
        Scanner scanner = new Scanner(System.in);

        int count = 0;
        int N = scanner.nextInt();

        for (int i = 0; i < N; i++) {
            int temp = scanner.nextInt();
            if (temp % 2 != 0) continue;
            while (temp % 2 == 0 && temp != 0) {
                temp /= 2;
                count ++;
            }
        }
        System.out.println(count);
    }
} Main public static void main(String[] args) {
        // write your code here
        Scanner scanner = new Scanner(System.in);

        int count = 0;
        int N = scanner.nextInt();

        for (int i = 0; i < N; i++) {
            int temp = scanner.nextInt();
            if (temp % 2 != 0) continue;
            while (temp % 2 == 0 && temp != 0) {
                temp /= 2;
                count ++;
            }
        }
        System.out.println(count);
    } main {
        // write your code here
        Scanner scanner = new Scanner(System.in);

        int count = 0;
        int N = scanner.nextInt();

        for (int i = 0; i < N; i++) {
            int temp = scanner.nextInt();
            if (temp % 2 != 0) continue;
            while (temp % 2 == 0 && temp != 0) {
                temp /= 2;
                count ++;
            }
        }
        System.out.println(count);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int count = 0; count 0 int N = scanner.nextInt(); N scanner.nextInt() scanner.nextInt scanner for (int i = 0; i < N; i++) {
            int temp = scanner.nextInt();
            if (temp % 2 != 0) continue;
            while (temp % 2 == 0 && temp != 0) {
                temp /= 2;
                count ++;
            }
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            int temp = scanner.nextInt();
            if (temp % 2 != 0) continue;
            while (temp % 2 == 0 && temp != 0) {
                temp /= 2;
                count ++;
            }
        } {
            int temp = scanner.nextInt();
            if (temp % 2 != 0) continue;
            while (temp % 2 == 0 && temp != 0) {
                temp /= 2;
                count ++;
            }
        } int temp = scanner.nextInt(); temp scanner.nextInt() scanner.nextInt scanner if (temp % 2 != 0) continue; temp % 2 != 0 temp % 2 temp 2 0 continue; while (temp % 2 == 0 && temp != 0) {
                temp /= 2;
                count ++;
            } temp % 2 == 0 && temp != 0 temp % 2 == 0 temp % 2 temp 2 0 temp != 0 temp 0 {
                temp /= 2;
                count ++;
            } temp /= 2 temp 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) {
        // write your code here
        Scanner scanner = new Scanner(System.in);

        int count = 0;
        int N = scanner.nextInt();

        for (int i = 0; i < N; i++) {
            int temp = scanner.nextInt();
            if (temp % 2 != 0) continue;
            while (temp % 2 == 0 && temp != 0) {
                temp /= 2;
                count ++;
            }
        }
        System.out.println(count);
    }
} public class Main {

    public static void main(String[] args) {
        // write your code here
        Scanner scanner = new Scanner(System.in);

        int count = 0;
        int N = scanner.nextInt();

        for (int i = 0; i < N; i++) {
            int temp = scanner.nextInt();
            if (temp % 2 != 0) continue;
            while (temp % 2 == 0 && temp != 0) {
                temp /= 2;
                count ++;
            }
        }
        System.out.println(count);
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        // write your code here
        Scanner scanner = new Scanner(System.in);

        int count = 0;
        int N = scanner.nextInt();

        for (int i = 0; i < N; i++) {
            int temp = scanner.nextInt();
            if (temp % 2 != 0) continue;
            while (temp % 2 == 0 && temp != 0) {
                temp /= 2;
                count ++;
            }
        }
        System.out.println(count);
    }
}
