import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int c = 0;
        for (int i = 0; i < N; i++) {
            long n = sc.nextLong();
            while (n % 2 == 0) {
                n /= 2;
                c++;
            }
        }
        System.out.println(c);
    }
} import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util 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 c = 0;
        for (int i = 0; i < N; i++) {
            long n = sc.nextLong();
            while (n % 2 == 0) {
                n /= 2;
                c++;
            }
        }
        System.out.println(c);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int c = 0;
        for (int i = 0; i < N; i++) {
            long n = sc.nextLong();
            while (n % 2 == 0) {
                n /= 2;
                c++;
            }
        }
        System.out.println(c);
    } main {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int c = 0;
        for (int i = 0; i < N; i++) {
            long n = sc.nextLong();
            while (n % 2 == 0) {
                n /= 2;
                c++;
            }
        }
        System.out.println(c);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc int c = 0; c 0 for (int i = 0; i < N; i++) {
            long n = sc.nextLong();
            while (n % 2 == 0) {
                n /= 2;
                c++;
            }
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            long n = sc.nextLong();
            while (n % 2 == 0) {
                n /= 2;
                c++;
            }
        } {
            long n = sc.nextLong();
            while (n % 2 == 0) {
                n /= 2;
                c++;
            }
        } long n = sc.nextLong(); n sc.nextLong() sc.nextLong sc while (n % 2 == 0) {
                n /= 2;
                c++;
            } n % 2 == 0 n % 2 n 2 0 {
                n /= 2;
                c++;
            } n /= 2 n 2 c++ c System.out.println(c) System.out.println System.out System System.out c String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int c = 0;
        for (int i = 0; i < N; i++) {
            long n = sc.nextLong();
            while (n % 2 == 0) {
                n /= 2;
                c++;
            }
        }
        System.out.println(c);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int c = 0;
        for (int i = 0; i < N; i++) {
            long n = sc.nextLong();
            while (n % 2 == 0) {
                n /= 2;
                c++;
            }
        }
        System.out.println(c);
    }
} Main
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int c = 0;
        for (int i = 0; i < N; i++) {
            long n = sc.nextLong();
            while (n % 2 == 0) {
                n /= 2;
                c++;
            }
        }
        System.out.println(c);
    }
}
