import java.util.*;

public class Main{
    void solve(){
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();
        long[] a = new long[n];
        for(int i = 0; i < n; i++) a[i] = scan.nextInt();
        int out = 0;
        for(int i = 0; i < n; i++){
            if(a[i] % 2 == 0){
                out++;
                a[i] /= 2;
                i = -1;
            }
        }
        System.out.println(out);
        scan.close();
    }

    public static void main(String[] args){
        new Main().solve();
    }
} import java.util.*; util.* java public class Main{
    void solve(){
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();
        long[] a = new long[n];
        for(int i = 0; i < n; i++) a[i] = scan.nextInt();
        int out = 0;
        for(int i = 0; i < n; i++){
            if(a[i] % 2 == 0){
                out++;
                a[i] /= 2;
                i = -1;
            }
        }
        System.out.println(out);
        scan.close();
    }

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

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

    public static void main(String[] args){
        new Main().solve();
    }
} Main
import java.util.*;

public class Main{
    void solve(){
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();
        long[] a = new long[n];
        for(int i = 0; i < n; i++) a[i] = scan.nextInt();
        int out = 0;
        for(int i = 0; i < n; i++){
            if(a[i] % 2 == 0){
                out++;
                a[i] /= 2;
                i = -1;
            }
        }
        System.out.println(out);
        scan.close();
    }

    public static void main(String[] args){
        new Main().solve();
    }
}
