import java.util.Scanner;
 
public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in);) {
            new Main().solve(sc);
        }
    }
 
    void solve(Scanner sc) {
        int n = sc.nextInt();
        int count = 0;
        for (int i = 0; i < n; i++) {
            int a = sc.nextInt();
            while (a % 2 == 0 && a >= 2) {
                count++;
                a /= 2;
            }
        }
        System.out.println(count);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in);) {
            new Main().solve(sc);
        }
    }
 
    void solve(Scanner sc) {
        int n = sc.nextInt();
        int count = 0;
        for (int i = 0; i < n; i++) {
            int a = sc.nextInt();
            while (a % 2 == 0 && a >= 2) {
                count++;
                a /= 2;
            }
        }
        System.out.println(count);
    }
} Main public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in);) {
            new Main().solve(sc);
        }
    } main {
        try (Scanner sc = new Scanner(System.in);) {
            new Main().solve(sc);
        }
    } try (Scanner sc = new Scanner(System.in);) {
            new Main().solve(sc);
        } {
            new Main().solve(sc);
        } Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) new Main().solve(sc) new Main().solve new Main() sc String[] args args void solve(Scanner sc) {
        int n = sc.nextInt();
        int count = 0;
        for (int i = 0; i < n; i++) {
            int a = sc.nextInt();
            while (a % 2 == 0 && a >= 2) {
                count++;
                a /= 2;
            }
        }
        System.out.println(count);
    } solve {
        int n = sc.nextInt();
        int count = 0;
        for (int i = 0; i < n; i++) {
            int a = sc.nextInt();
            while (a % 2 == 0 && a >= 2) {
                count++;
                a /= 2;
            }
        }
        System.out.println(count);
    } int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int count = 0; count 0 for (int i = 0; i < n; i++) {
            int a = sc.nextInt();
            while (a % 2 == 0 && a >= 2) {
                count++;
                a /= 2;
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            int a = sc.nextInt();
            while (a % 2 == 0 && a >= 2) {
                count++;
                a /= 2;
            }
        } {
            int a = sc.nextInt();
            while (a % 2 == 0 && a >= 2) {
                count++;
                a /= 2;
            }
        } int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc while (a % 2 == 0 && a >= 2) {
                count++;
                a /= 2;
            } a % 2 == 0 && a >= 2 a % 2 == 0 a % 2 a 2 0 a >= 2 a 2 {
                count++;
                a /= 2;
            } count++ count a /= 2 a 2 System.out.println(count) System.out.println System.out System System.out count Scanner sc sc public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in);) {
            new Main().solve(sc);
        }
    }
 
    void solve(Scanner sc) {
        int n = sc.nextInt();
        int count = 0;
        for (int i = 0; i < n; i++) {
            int a = sc.nextInt();
            while (a % 2 == 0 && a >= 2) {
                count++;
                a /= 2;
            }
        }
        System.out.println(count);
    }
} public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in);) {
            new Main().solve(sc);
        }
    }
 
    void solve(Scanner sc) {
        int n = sc.nextInt();
        int count = 0;
        for (int i = 0; i < n; i++) {
            int a = sc.nextInt();
            while (a % 2 == 0 && a >= 2) {
                count++;
                a /= 2;
            }
        }
        System.out.println(count);
    }
} Main
import java.util.Scanner;
 
public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in);) {
            new Main().solve(sc);
        }
    }
 
    void solve(Scanner sc) {
        int n = sc.nextInt();
        int count = 0;
        for (int i = 0; i < n; i++) {
            int a = sc.nextInt();
            while (a % 2 == 0 && a >= 2) {
                count++;
                a /= 2;
            }
        }
        System.out.println(count);
    }
}