import java.util.*;

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

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