import java.util.*;
import java.io.InputStreamReader;
import java.io.BufferedReader;


public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
        String[] s = br.readLine().split(" ");
        int[] a = new int[n];
        
        for (int i = 0; i < n; i++) {
            a[i] = Integer.parseInt(s[i]);
        }
        
        int count = 0;
        for (int i = 0; i < n; i++) {
            while (a[i]%2 == 0) {
                a[i] /= 2;
                count++;
            }
        }
        System.out.println(count);
    }
}


 import java.util.*; util.* java import java.io.InputStreamReader; InputStreamReader java.io import java.io.BufferedReader; BufferedReader java.io public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
        String[] s = br.readLine().split(" ");
        int[] a = new int[n];
        
        for (int i = 0; i < n; i++) {
            a[i] = Integer.parseInt(s[i]);
        }
        
        int count = 0;
        for (int i = 0; i < n; i++) {
            while (a[i]%2 == 0) {
                a[i] /= 2;
                count++;
            }
        }
        System.out.println(count);
    }
} Main public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
        String[] s = br.readLine().split(" ");
        int[] a = new int[n];
        
        for (int i = 0; i < n; i++) {
            a[i] = Integer.parseInt(s[i]);
        }
        
        int count = 0;
        for (int i = 0; i < n; i++) {
            while (a[i]%2 == 0) {
                a[i] /= 2;
                count++;
            }
        }
        System.out.println(count);
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
        String[] s = br.readLine().split(" ");
        int[] a = new int[n];
        
        for (int i = 0; i < n; i++) {
            a[i] = Integer.parseInt(s[i]);
        }
        
        int count = 0;
        for (int i = 0; i < n; i++) {
            while (a[i]%2 == 0) {
                a[i] /= 2;
                count++;
            }
        }
        System.out.println(count);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] s = br.readLine().split(" "); s br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int[] a = new int[n]; a new int[n] n for (int i = 0; i < n; i++) {
            a[i] = Integer.parseInt(s[i]);
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            a[i] = Integer.parseInt(s[i]);
        } {
            a[i] = Integer.parseInt(s[i]);
        } a[i] = Integer.parseInt(s[i]) a[i] a i Integer.parseInt(s[i]) Integer.parseInt Integer s[i] s i int count = 0; count 0 for (int i = 0; i < n; i++) {
            while (a[i]%2 == 0) {
                a[i] /= 2;
                count++;
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            while (a[i]%2 == 0) {
                a[i] /= 2;
                count++;
            }
        } {
            while (a[i]%2 == 0) {
                a[i] /= 2;
                count++;
            }
        } while (a[i]%2 == 0) {
                a[i] /= 2;
                count++;
            } a[i]%2 == 0 a[i]%2 a[i] a i 2 0 {
                a[i] /= 2;
                count++;
            } a[i] /= 2 a[i] a i 2 count++ count System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
        String[] s = br.readLine().split(" ");
        int[] a = new int[n];
        
        for (int i = 0; i < n; i++) {
            a[i] = Integer.parseInt(s[i]);
        }
        
        int count = 0;
        for (int i = 0; i < n; i++) {
            while (a[i]%2 == 0) {
                a[i] /= 2;
                count++;
            }
        }
        System.out.println(count);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
        String[] s = br.readLine().split(" ");
        int[] a = new int[n];
        
        for (int i = 0; i < n; i++) {
            a[i] = Integer.parseInt(s[i]);
        }
        
        int count = 0;
        for (int i = 0; i < n; i++) {
            while (a[i]%2 == 0) {
                a[i] /= 2;
                count++;
            }
        }
        System.out.println(count);
    }
} Main
import java.util.*;
import java.io.InputStreamReader;
import java.io.BufferedReader;


public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
        String[] s = br.readLine().split(" ");
        int[] a = new int[n];
        
        for (int i = 0; i < n; i++) {
            a[i] = Integer.parseInt(s[i]);
        }
        
        int count = 0;
        for (int i = 0; i < n; i++) {
            while (a[i]%2 == 0) {
                a[i] /= 2;
                count++;
            }
        }
        System.out.println(count);
    }
}



