import java.util.*;
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.nextLine());
        String[] in = sc.nextLine().split(" ");
        int num;
        int co = 0;
        for(int i =0 ; i<in.length ; i++){
            num = Integer.parseInt(in[i]);
            while(num % 2 == 0){
                co++;
                num/=2;
            }
        }
        System.out.println(co);
    }
} import java.util.*; util.* java public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.nextLine());
        String[] in = sc.nextLine().split(" ");
        int num;
        int co = 0;
        for(int i =0 ; i<in.length ; i++){
            num = Integer.parseInt(in[i]);
            while(num % 2 == 0){
                co++;
                num/=2;
            }
        }
        System.out.println(co);
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.nextLine());
        String[] in = sc.nextLine().split(" ");
        int num;
        int co = 0;
        for(int i =0 ; i<in.length ; i++){
            num = Integer.parseInt(in[i]);
            while(num % 2 == 0){
                co++;
                num/=2;
            }
        }
        System.out.println(co);
    } main {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.nextLine());
        String[] in = sc.nextLine().split(" ");
        int num;
        int co = 0;
        for(int i =0 ; i<in.length ; i++){
            num = Integer.parseInt(in[i]);
            while(num % 2 == 0){
                co++;
                num/=2;
            }
        }
        System.out.println(co);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = Integer.parseInt(sc.nextLine()); n Integer.parseInt(sc.nextLine()) Integer.parseInt Integer sc.nextLine() sc.nextLine sc String[] in = sc.nextLine().split(" "); in sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " int num; num int co = 0; co 0 for(int i =0 ; i<in.length ; i++){
            num = Integer.parseInt(in[i]);
            while(num % 2 == 0){
                co++;
                num/=2;
            }
        } int i =0 ; int i =0 ; i 0 i<in.length i in.length in in.length i++ i++ i {
            num = Integer.parseInt(in[i]);
            while(num % 2 == 0){
                co++;
                num/=2;
            }
        } {
            num = Integer.parseInt(in[i]);
            while(num % 2 == 0){
                co++;
                num/=2;
            }
        } num = Integer.parseInt(in[i]) num Integer.parseInt(in[i]) Integer.parseInt Integer in[i] in i while(num % 2 == 0){
                co++;
                num/=2;
            } num % 2 == 0 num % 2 num 2 0 {
                co++;
                num/=2;
            } co++ co num/=2 num 2 System.out.println(co) System.out.println System.out System System.out co String[] args args public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.nextLine());
        String[] in = sc.nextLine().split(" ");
        int num;
        int co = 0;
        for(int i =0 ; i<in.length ; i++){
            num = Integer.parseInt(in[i]);
            while(num % 2 == 0){
                co++;
                num/=2;
            }
        }
        System.out.println(co);
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.nextLine());
        String[] in = sc.nextLine().split(" ");
        int num;
        int co = 0;
        for(int i =0 ; i<in.length ; i++){
            num = Integer.parseInt(in[i]);
            while(num % 2 == 0){
                co++;
                num/=2;
            }
        }
        System.out.println(co);
    }
} Main
import java.util.*;
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.nextLine());
        String[] in = sc.nextLine().split(" ");
        int num;
        int co = 0;
        for(int i =0 ; i<in.length ; i++){
            num = Integer.parseInt(in[i]);
            while(num % 2 == 0){
                co++;
                num/=2;
            }
        }
        System.out.println(co);
    }
}
