import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 *
 * @author Eric
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        C3Or2 solver = new C3Or2();
        solver.solve(1, in, out);
        out.close();
    }

    static class C3Or2 {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int n = in.nextInt();
            int[] a = new int[n];
            for (int i = 0; i < n; i++) {
                a[i] = in.nextInt();
            }
            int res = solve(a);
            out.println(res);
        }

        private int solve(int[] a) {
            int res = 0;
            for (int val : a) {
                while (val % 2 == 0) {
                    val /= 2;
                    res++;
                }
            }
            return res;
        }

    }
}
 import java.io.OutputStream; OutputStream java.io import java.io.IOException; IOException java.io import java.io.InputStream; InputStream java.io import java.io.PrintWriter; PrintWriter java.io import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        C3Or2 solver = new C3Or2();
        solver.solve(1, in, out);
        out.close();
    }

    static class C3Or2 {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int n = in.nextInt();
            int[] a = new int[n];
            for (int i = 0; i < n; i++) {
                a[i] = in.nextInt();
            }
            int res = solve(a);
            out.println(res);
        }

        private int solve(int[] a) {
            int res = 0;
            for (int val : a) {
                while (val % 2 == 0) {
                    val /= 2;
                    res++;
                }
            }
            return res;
        }

    }
} Main public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        C3Or2 solver = new C3Or2();
        solver.solve(1, in, out);
        out.close();
    } main {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        C3Or2 solver = new C3Or2();
        solver.solve(1, in, out);
        out.close();
    } InputStream inputStream = System.in; inputStream System.in System System.in OutputStream outputStream = System.out; outputStream System.out System System.out Scanner in = new Scanner(inputStream); in new Scanner(inputStream) PrintWriter out = new PrintWriter(outputStream); out new PrintWriter(outputStream) C3Or2 solver = new C3Or2(); solver new C3Or2() solver.solve(1, in, out) solver.solve solver 1 in out out.close() out.close out String[] args args static class C3Or2 {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int n = in.nextInt();
            int[] a = new int[n];
            for (int i = 0; i < n; i++) {
                a[i] = in.nextInt();
            }
            int res = solve(a);
            out.println(res);
        }

        private int solve(int[] a) {
            int res = 0;
            for (int val : a) {
                while (val % 2 == 0) {
                    val /= 2;
                    res++;
                }
            }
            return res;
        }

    } C3Or2 public void solve(int testNumber, Scanner in, PrintWriter out) {
            int n = in.nextInt();
            int[] a = new int[n];
            for (int i = 0; i < n; i++) {
                a[i] = in.nextInt();
            }
            int res = solve(a);
            out.println(res);
        } solve {
            int n = in.nextInt();
            int[] a = new int[n];
            for (int i = 0; i < n; i++) {
                a[i] = in.nextInt();
            }
            int res = solve(a);
            out.println(res);
        } int n = in.nextInt(); n in.nextInt() in.nextInt in int[] a = new int[n]; a new int[n] n for (int i = 0; i < n; i++) {
                a[i] = in.nextInt();
            } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
                a[i] = in.nextInt();
            } {
                a[i] = in.nextInt();
            } a[i] = in.nextInt() a[i] a i in.nextInt() in.nextInt in int res = solve(a); res solve(a) solve a out.println(res) out.println out res int testNumber testNumber Scanner in in PrintWriter out out private int solve(int[] a) {
            int res = 0;
            for (int val : a) {
                while (val % 2 == 0) {
                    val /= 2;
                    res++;
                }
            }
            return res;
        } solve {
            int res = 0;
            for (int val : a) {
                while (val % 2 == 0) {
                    val /= 2;
                    res++;
                }
            }
            return res;
        } int res = 0; res 0 for (int val : a) {
                while (val % 2 == 0) {
                    val /= 2;
                    res++;
                }
            } int val a {
                while (val % 2 == 0) {
                    val /= 2;
                    res++;
                }
            } {
                while (val % 2 == 0) {
                    val /= 2;
                    res++;
                }
            } while (val % 2 == 0) {
                    val /= 2;
                    res++;
                } val % 2 == 0 val % 2 val 2 0 {
                    val /= 2;
                    res++;
                } val /= 2 val 2 res++ res return res; res int[] a a public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        C3Or2 solver = new C3Or2();
        solver.solve(1, in, out);
        out.close();
    }

    static class C3Or2 {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int n = in.nextInt();
            int[] a = new int[n];
            for (int i = 0; i < n; i++) {
                a[i] = in.nextInt();
            }
            int res = solve(a);
            out.println(res);
        }

        private int solve(int[] a) {
            int res = 0;
            for (int val : a) {
                while (val % 2 == 0) {
                    val /= 2;
                    res++;
                }
            }
            return res;
        }

    }
} public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        C3Or2 solver = new C3Or2();
        solver.solve(1, in, out);
        out.close();
    }

    static class C3Or2 {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int n = in.nextInt();
            int[] a = new int[n];
            for (int i = 0; i < n; i++) {
                a[i] = in.nextInt();
            }
            int res = solve(a);
            out.println(res);
        }

        private int solve(int[] a) {
            int res = 0;
            for (int val : a) {
                while (val % 2 == 0) {
                    val /= 2;
                    res++;
                }
            }
            return res;
        }

    }
} Main
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 *
 * @author Eric
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        C3Or2 solver = new C3Or2();
        solver.solve(1, in, out);
        out.close();
    }

    static class C3Or2 {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int n = in.nextInt();
            int[] a = new int[n];
            for (int i = 0; i < n; i++) {
                a[i] = in.nextInt();
            }
            int res = solve(a);
            out.println(res);
        }

        private int solve(int[] a) {
            int res = 0;
            for (int val : a) {
                while (val % 2 == 0) {
                    val /= 2;
                    res++;
                }
            }
            return res;
        }

    }
}

