import java.util.Scanner;
import java.util.Arrays;

public class Main {

    public static void main(String[] args) {
        new Main().solve();
    }

    void solve() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        long[] a = new long[N];
        long ans = 0;
        for (int i = 0; i < N; i++) {
            a[i] = sc.nextLong();
        }
        for (int i = 0; i < N; i++) {
            while (true) {
                if (a[i] % 2 != 0) {
                    break;
                } else {
                    a[i] = a[i] / 2;
                    ans++;
                }
            }
        }

        System.out.println(ans);
    }
} import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util public class Main {

    public static void main(String[] args) {
        new Main().solve();
    }

    void solve() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        long[] a = new long[N];
        long ans = 0;
        for (int i = 0; i < N; i++) {
            a[i] = sc.nextLong();
        }
        for (int i = 0; i < N; i++) {
            while (true) {
                if (a[i] % 2 != 0) {
                    break;
                } else {
                    a[i] = a[i] / 2;
                    ans++;
                }
            }
        }

        System.out.println(ans);
    }
} Main public static void main(String[] args) {
        new Main().solve();
    } main {
        new Main().solve();
    } new Main().solve() new Main().solve new Main() String[] args args void solve() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        long[] a = new long[N];
        long ans = 0;
        for (int i = 0; i < N; i++) {
            a[i] = sc.nextLong();
        }
        for (int i = 0; i < N; i++) {
            while (true) {
                if (a[i] % 2 != 0) {
                    break;
                } else {
                    a[i] = a[i] / 2;
                    ans++;
                }
            }
        }

        System.out.println(ans);
    } solve {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        long[] a = new long[N];
        long ans = 0;
        for (int i = 0; i < N; i++) {
            a[i] = sc.nextLong();
        }
        for (int i = 0; i < N; i++) {
            while (true) {
                if (a[i] % 2 != 0) {
                    break;
                } else {
                    a[i] = a[i] / 2;
                    ans++;
                }
            }
        }

        System.out.println(ans);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc long[] a = new long[N]; a new long[N] N long ans = 0; ans 0 for (int i = 0; i < N; i++) {
            a[i] = sc.nextLong();
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            a[i] = sc.nextLong();
        } {
            a[i] = sc.nextLong();
        } a[i] = sc.nextLong() a[i] a i sc.nextLong() sc.nextLong sc for (int i = 0; i < N; i++) {
            while (true) {
                if (a[i] % 2 != 0) {
                    break;
                } else {
                    a[i] = a[i] / 2;
                    ans++;
                }
            }
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            while (true) {
                if (a[i] % 2 != 0) {
                    break;
                } else {
                    a[i] = a[i] / 2;
                    ans++;
                }
            }
        } {
            while (true) {
                if (a[i] % 2 != 0) {
                    break;
                } else {
                    a[i] = a[i] / 2;
                    ans++;
                }
            }
        } while (true) {
                if (a[i] % 2 != 0) {
                    break;
                } else {
                    a[i] = a[i] / 2;
                    ans++;
                }
            } true {
                if (a[i] % 2 != 0) {
                    break;
                } else {
                    a[i] = a[i] / 2;
                    ans++;
                }
            } if (a[i] % 2 != 0) {
                    break;
                } else {
                    a[i] = a[i] / 2;
                    ans++;
                } a[i] % 2 != 0 a[i] % 2 a[i] a i 2 0 {
                    break;
                } break; {
                    a[i] = a[i] / 2;
                    ans++;
                } a[i] = a[i] / 2 a[i] a i a[i] / 2 a[i] a i 2 ans++ ans System.out.println(ans) System.out.println System.out System System.out ans public class Main {

    public static void main(String[] args) {
        new Main().solve();
    }

    void solve() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        long[] a = new long[N];
        long ans = 0;
        for (int i = 0; i < N; i++) {
            a[i] = sc.nextLong();
        }
        for (int i = 0; i < N; i++) {
            while (true) {
                if (a[i] % 2 != 0) {
                    break;
                } else {
                    a[i] = a[i] / 2;
                    ans++;
                }
            }
        }

        System.out.println(ans);
    }
} public class Main {

    public static void main(String[] args) {
        new Main().solve();
    }

    void solve() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        long[] a = new long[N];
        long ans = 0;
        for (int i = 0; i < N; i++) {
            a[i] = sc.nextLong();
        }
        for (int i = 0; i < N; i++) {
            while (true) {
                if (a[i] % 2 != 0) {
                    break;
                } else {
                    a[i] = a[i] / 2;
                    ans++;
                }
            }
        }

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

public class Main {

    public static void main(String[] args) {
        new Main().solve();
    }

    void solve() {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        long[] a = new long[N];
        long ans = 0;
        for (int i = 0; i < N; i++) {
            a[i] = sc.nextLong();
        }
        for (int i = 0; i < N; i++) {
            while (true) {
                if (a[i] % 2 != 0) {
                    break;
                } else {
                    a[i] = a[i] / 2;
                    ans++;
                }
            }
        }

        System.out.println(ans);
    }
}