import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = Integer.parseInt(sc.next());
        int res = 0;
        for (int i = 0; i < N; i++) {
            int a = Integer.parseInt(sc.next());

            while (a % 2 == 0) {
                res++;
                a /= 2;
            }

        }

        System.out.println(res);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = Integer.parseInt(sc.next());
        int res = 0;
        for (int i = 0; i < N; i++) {
            int a = Integer.parseInt(sc.next());

            while (a % 2 == 0) {
                res++;
                a /= 2;
            }

        }

        System.out.println(res);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = Integer.parseInt(sc.next());
        int res = 0;
        for (int i = 0; i < N; i++) {
            int a = Integer.parseInt(sc.next());

            while (a % 2 == 0) {
                res++;
                a /= 2;
            }

        }

        System.out.println(res);
    } main {
        Scanner sc = new Scanner(System.in);
        int N = Integer.parseInt(sc.next());
        int res = 0;
        for (int i = 0; i < N; i++) {
            int a = Integer.parseInt(sc.next());

            while (a % 2 == 0) {
                res++;
                a /= 2;
            }

        }

        System.out.println(res);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = Integer.parseInt(sc.next()); N Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int res = 0; res 0 for (int i = 0; i < N; i++) {
            int a = Integer.parseInt(sc.next());

            while (a % 2 == 0) {
                res++;
                a /= 2;
            }

        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            int a = Integer.parseInt(sc.next());

            while (a % 2 == 0) {
                res++;
                a /= 2;
            }

        } {
            int a = Integer.parseInt(sc.next());

            while (a % 2 == 0) {
                res++;
                a /= 2;
            }

        } int a = Integer.parseInt(sc.next()); a Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc while (a % 2 == 0) {
                res++;
                a /= 2;
            } a % 2 == 0 a % 2 a 2 0 {
                res++;
                a /= 2;
            } res++ res a /= 2 a 2 System.out.println(res) System.out.println System.out System System.out res String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = Integer.parseInt(sc.next());
        int res = 0;
        for (int i = 0; i < N; i++) {
            int a = Integer.parseInt(sc.next());

            while (a % 2 == 0) {
                res++;
                a /= 2;
            }

        }

        System.out.println(res);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = Integer.parseInt(sc.next());
        int res = 0;
        for (int i = 0; i < N; i++) {
            int a = Integer.parseInt(sc.next());

            while (a % 2 == 0) {
                res++;
                a /= 2;
            }

        }

        System.out.println(res);
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = Integer.parseInt(sc.next());
        int res = 0;
        for (int i = 0; i < N; i++) {
            int a = Integer.parseInt(sc.next());

            while (a % 2 == 0) {
                res++;
                a /= 2;
            }

        }

        System.out.println(res);
    }
}
