import java.util.*;
import java.io.*;

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

        System.out.println(ans);
    }
} import java.util.*; util.* java import java.io.*; io.* java public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        long[] arr = new long[n];
        long ans = 0;
        for (int i = 0; i < n; ++i) {
            arr[i] = in.nextInt();
            while (arr[i] % 2 == 0) {
                arr[i] /= 2;
                ++ans;
            }
        }

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

        System.out.println(ans);
    } main {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        long[] arr = new long[n];
        long ans = 0;
        for (int i = 0; i < n; ++i) {
            arr[i] = in.nextInt();
            while (arr[i] % 2 == 0) {
                arr[i] /= 2;
                ++ans;
            }
        }

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

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

        System.out.println(ans);
    }
} Main
import java.util.*;
import java.io.*;

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

        System.out.println(ans);
    }
}