import java.util.ArrayList;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        ArrayList<Long> a = new ArrayList<>();
        for (int i = 0; i < n; i++) {
            long tmp = sc.nextLong();
            if(tmp % 2 == 0) {
                a.add(tmp);
            }
        }
        int ans = 0;
        if(a.size() == 0) {
            System.out.println(ans);
            return;
        }
        for (int i = 0; i < a.size(); i++) {
            while(a.get(i) % 2 == 0) {
                a.set(i, a.get(i) / 2);
                ans++;
            }
        }
        System.out.println(ans);
    }
} import java.util.ArrayList; ArrayList java.util import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        ArrayList<Long> a = new ArrayList<>();
        for (int i = 0; i < n; i++) {
            long tmp = sc.nextLong();
            if(tmp % 2 == 0) {
                a.add(tmp);
            }
        }
        int ans = 0;
        if(a.size() == 0) {
            System.out.println(ans);
            return;
        }
        for (int i = 0; i < a.size(); i++) {
            while(a.get(i) % 2 == 0) {
                a.set(i, a.get(i) / 2);
                ans++;
            }
        }
        System.out.println(ans);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        ArrayList<Long> a = new ArrayList<>();
        for (int i = 0; i < n; i++) {
            long tmp = sc.nextLong();
            if(tmp % 2 == 0) {
                a.add(tmp);
            }
        }
        int ans = 0;
        if(a.size() == 0) {
            System.out.println(ans);
            return;
        }
        for (int i = 0; i < a.size(); i++) {
            while(a.get(i) % 2 == 0) {
                a.set(i, a.get(i) / 2);
                ans++;
            }
        }
        System.out.println(ans);
    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        ArrayList<Long> a = new ArrayList<>();
        for (int i = 0; i < n; i++) {
            long tmp = sc.nextLong();
            if(tmp % 2 == 0) {
                a.add(tmp);
            }
        }
        int ans = 0;
        if(a.size() == 0) {
            System.out.println(ans);
            return;
        }
        for (int i = 0; i < a.size(); i++) {
            while(a.get(i) % 2 == 0) {
                a.set(i, a.get(i) / 2);
                ans++;
            }
        }
        System.out.println(ans);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc ArrayList<Long> a = new ArrayList<>(); a new ArrayList<>() for (int i = 0; i < n; i++) {
            long tmp = sc.nextLong();
            if(tmp % 2 == 0) {
                a.add(tmp);
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            long tmp = sc.nextLong();
            if(tmp % 2 == 0) {
                a.add(tmp);
            }
        } {
            long tmp = sc.nextLong();
            if(tmp % 2 == 0) {
                a.add(tmp);
            }
        } long tmp = sc.nextLong(); tmp sc.nextLong() sc.nextLong sc if(tmp % 2 == 0) {
                a.add(tmp);
            } tmp % 2 == 0 tmp % 2 tmp 2 0 {
                a.add(tmp);
            } a.add(tmp) a.add a tmp int ans = 0; ans 0 if(a.size() == 0) {
            System.out.println(ans);
            return;
        } a.size() == 0 a.size() a.size a 0 {
            System.out.println(ans);
            return;
        } System.out.println(ans) System.out.println System.out System System.out ans return; for (int i = 0; i < a.size(); i++) {
            while(a.get(i) % 2 == 0) {
                a.set(i, a.get(i) / 2);
                ans++;
            }
        } int i = 0; int i = 0; i 0 i < a.size() i a.size() a.size a i++ i++ i {
            while(a.get(i) % 2 == 0) {
                a.set(i, a.get(i) / 2);
                ans++;
            }
        } {
            while(a.get(i) % 2 == 0) {
                a.set(i, a.get(i) / 2);
                ans++;
            }
        } while(a.get(i) % 2 == 0) {
                a.set(i, a.get(i) / 2);
                ans++;
            } a.get(i) % 2 == 0 a.get(i) % 2 a.get(i) a.get a i 2 0 {
                a.set(i, a.get(i) / 2);
                ans++;
            } a.set(i, a.get(i) / 2) a.set a i a.get(i) / 2 a.get(i) a.get a i 2 ans++ ans System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        ArrayList<Long> a = new ArrayList<>();
        for (int i = 0; i < n; i++) {
            long tmp = sc.nextLong();
            if(tmp % 2 == 0) {
                a.add(tmp);
            }
        }
        int ans = 0;
        if(a.size() == 0) {
            System.out.println(ans);
            return;
        }
        for (int i = 0; i < a.size(); i++) {
            while(a.get(i) % 2 == 0) {
                a.set(i, a.get(i) / 2);
                ans++;
            }
        }
        System.out.println(ans);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        ArrayList<Long> a = new ArrayList<>();
        for (int i = 0; i < n; i++) {
            long tmp = sc.nextLong();
            if(tmp % 2 == 0) {
                a.add(tmp);
            }
        }
        int ans = 0;
        if(a.size() == 0) {
            System.out.println(ans);
            return;
        }
        for (int i = 0; i < a.size(); i++) {
            while(a.get(i) % 2 == 0) {
                a.set(i, a.get(i) / 2);
                ans++;
            }
        }
        System.out.println(ans);
    }
} Main
import java.util.ArrayList;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        ArrayList<Long> a = new ArrayList<>();
        for (int i = 0; i < n; i++) {
            long tmp = sc.nextLong();
            if(tmp % 2 == 0) {
                a.add(tmp);
            }
        }
        int ans = 0;
        if(a.size() == 0) {
            System.out.println(ans);
            return;
        }
        for (int i = 0; i < a.size(); i++) {
            while(a.get(i) % 2 == 0) {
                a.set(i, a.get(i) / 2);
                ans++;
            }
        }
        System.out.println(ans);
    }
}