import java.util.Scanner;

public class Main {

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

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

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

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

public class Main {

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