import java.util.*;
public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] a = new int[n];
        int s = 0;
        for(int i = 0 ; i < n ; i++ ){
            a[i] = sc.nextInt();
            boolean che = false;
            while(che == false){
                if(a[i] % 2 == 0){
                    a[i] /= 2;
                    s++;
                }else{
                    che = true;
                }
            }
        }
        System.out.println(s);
        sc.close();
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] a = new int[n];
        int s = 0;
        for(int i = 0 ; i < n ; i++ ){
            a[i] = sc.nextInt();
            boolean che = false;
            while(che == false){
                if(a[i] % 2 == 0){
                    a[i] /= 2;
                    s++;
                }else{
                    che = true;
                }
            }
        }
        System.out.println(s);
        sc.close();
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] a = new int[n];
        int s = 0;
        for(int i = 0 ; i < n ; i++ ){
            a[i] = sc.nextInt();
            boolean che = false;
            while(che == false){
                if(a[i] % 2 == 0){
                    a[i] /= 2;
                    s++;
                }else{
                    che = true;
                }
            }
        }
        System.out.println(s);
        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] a = new int[n];
        int s = 0;
        for(int i = 0 ; i < n ; i++ ){
            a[i] = sc.nextInt();
            boolean che = false;
            while(che == false){
                if(a[i] % 2 == 0){
                    a[i] /= 2;
                    s++;
                }else{
                    che = true;
                }
            }
        }
        System.out.println(s);
        sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int[] a = new int[n]; a new int[n] n int s = 0; s 0 for(int i = 0 ; i < n ; i++ ){
            a[i] = sc.nextInt();
            boolean che = false;
            while(che == false){
                if(a[i] % 2 == 0){
                    a[i] /= 2;
                    s++;
                }else{
                    che = true;
                }
            }
        } int i = 0 ; int i = 0 ; i 0 i < n i n i++ i++ i {
            a[i] = sc.nextInt();
            boolean che = false;
            while(che == false){
                if(a[i] % 2 == 0){
                    a[i] /= 2;
                    s++;
                }else{
                    che = true;
                }
            }
        } {
            a[i] = sc.nextInt();
            boolean che = false;
            while(che == false){
                if(a[i] % 2 == 0){
                    a[i] /= 2;
                    s++;
                }else{
                    che = true;
                }
            }
        } a[i] = sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc boolean che = false; che false while(che == false){
                if(a[i] % 2 == 0){
                    a[i] /= 2;
                    s++;
                }else{
                    che = true;
                }
            } che == false che false {
                if(a[i] % 2 == 0){
                    a[i] /= 2;
                    s++;
                }else{
                    che = true;
                }
            } if(a[i] % 2 == 0){
                    a[i] /= 2;
                    s++;
                }else{
                    che = true;
                } a[i] % 2 == 0 a[i] % 2 a[i] a i 2 0 {
                    a[i] /= 2;
                    s++;
                } a[i] /= 2 a[i] a i 2 s++ s {
                    che = true;
                } che = true che true System.out.println(s) System.out.println System.out System System.out s sc.close() sc.close sc String[] args args public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] a = new int[n];
        int s = 0;
        for(int i = 0 ; i < n ; i++ ){
            a[i] = sc.nextInt();
            boolean che = false;
            while(che == false){
                if(a[i] % 2 == 0){
                    a[i] /= 2;
                    s++;
                }else{
                    che = true;
                }
            }
        }
        System.out.println(s);
        sc.close();
    }
} public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] a = new int[n];
        int s = 0;
        for(int i = 0 ; i < n ; i++ ){
            a[i] = sc.nextInt();
            boolean che = false;
            while(che == false){
                if(a[i] % 2 == 0){
                    a[i] /= 2;
                    s++;
                }else{
                    che = true;
                }
            }
        }
        System.out.println(s);
        sc.close();
    }
} Main
import java.util.*;
public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] a = new int[n];
        int s = 0;
        for(int i = 0 ; i < n ; i++ ){
            a[i] = sc.nextInt();
            boolean che = false;
            while(che == false){
                if(a[i] % 2 == 0){
                    a[i] /= 2;
                    s++;
                }else{
                    che = true;
                }
            }
        }
        System.out.println(s);
        sc.close();
    }
}