

import java.util.Scanner;

public class Main {

    static Scanner sc = new Scanner(System.in);


    public static void main(String[] args) {
        int n = sc.nextInt();
        int a;
        int count = 0;
        for (int i = 0; i < n; i++) {
            a = sc.nextInt();
            if (a % 2 == 0) {
                int j = 1;
                boolean b = true;
                while (b) {
                    int c = (int) Math.pow(2, j);
                    if (a % c == 0) {
                        count++;
                        j++;
                    } else {
                        b = false;
                    }
                }
            }
        }
        System.out.println(count);
    }
} import java.util.Scanner; Scanner java.util public class Main {

    static Scanner sc = new Scanner(System.in);


    public static void main(String[] args) {
        int n = sc.nextInt();
        int a;
        int count = 0;
        for (int i = 0; i < n; i++) {
            a = sc.nextInt();
            if (a % 2 == 0) {
                int j = 1;
                boolean b = true;
                while (b) {
                    int c = (int) Math.pow(2, j);
                    if (a % c == 0) {
                        count++;
                        j++;
                    } else {
                        b = false;
                    }
                }
            }
        }
        System.out.println(count);
    }
} Main static Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main(String[] args) {
        int n = sc.nextInt();
        int a;
        int count = 0;
        for (int i = 0; i < n; i++) {
            a = sc.nextInt();
            if (a % 2 == 0) {
                int j = 1;
                boolean b = true;
                while (b) {
                    int c = (int) Math.pow(2, j);
                    if (a % c == 0) {
                        count++;
                        j++;
                    } else {
                        b = false;
                    }
                }
            }
        }
        System.out.println(count);
    } main {
        int n = sc.nextInt();
        int a;
        int count = 0;
        for (int i = 0; i < n; i++) {
            a = sc.nextInt();
            if (a % 2 == 0) {
                int j = 1;
                boolean b = true;
                while (b) {
                    int c = (int) Math.pow(2, j);
                    if (a % c == 0) {
                        count++;
                        j++;
                    } else {
                        b = false;
                    }
                }
            }
        }
        System.out.println(count);
    } int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int a; a int count = 0; count 0 for (int i = 0; i < n; i++) {
            a = sc.nextInt();
            if (a % 2 == 0) {
                int j = 1;
                boolean b = true;
                while (b) {
                    int c = (int) Math.pow(2, j);
                    if (a % c == 0) {
                        count++;
                        j++;
                    } else {
                        b = false;
                    }
                }
            }
        } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
            a = sc.nextInt();
            if (a % 2 == 0) {
                int j = 1;
                boolean b = true;
                while (b) {
                    int c = (int) Math.pow(2, j);
                    if (a % c == 0) {
                        count++;
                        j++;
                    } else {
                        b = false;
                    }
                }
            }
        } {
            a = sc.nextInt();
            if (a % 2 == 0) {
                int j = 1;
                boolean b = true;
                while (b) {
                    int c = (int) Math.pow(2, j);
                    if (a % c == 0) {
                        count++;
                        j++;
                    } else {
                        b = false;
                    }
                }
            }
        } a = sc.nextInt() a sc.nextInt() sc.nextInt sc if (a % 2 == 0) {
                int j = 1;
                boolean b = true;
                while (b) {
                    int c = (int) Math.pow(2, j);
                    if (a % c == 0) {
                        count++;
                        j++;
                    } else {
                        b = false;
                    }
                }
            } a % 2 == 0 a % 2 a 2 0 {
                int j = 1;
                boolean b = true;
                while (b) {
                    int c = (int) Math.pow(2, j);
                    if (a % c == 0) {
                        count++;
                        j++;
                    } else {
                        b = false;
                    }
                }
            } int j = 1; j 1 boolean b = true; b true while (b) {
                    int c = (int) Math.pow(2, j);
                    if (a % c == 0) {
                        count++;
                        j++;
                    } else {
                        b = false;
                    }
                } b {
                    int c = (int) Math.pow(2, j);
                    if (a % c == 0) {
                        count++;
                        j++;
                    } else {
                        b = false;
                    }
                } int c = (int) Math.pow(2, j); c (int) Math.pow(2, j) Math.pow Math 2 j if (a % c == 0) {
                        count++;
                        j++;
                    } else {
                        b = false;
                    } a % c == 0 a % c a c 0 {
                        count++;
                        j++;
                    } count++ count j++ j {
                        b = false;
                    } b = false b false System.out.println(count) System.out.println System.out System System.out count String[] args args public class Main {

    static Scanner sc = new Scanner(System.in);


    public static void main(String[] args) {
        int n = sc.nextInt();
        int a;
        int count = 0;
        for (int i = 0; i < n; i++) {
            a = sc.nextInt();
            if (a % 2 == 0) {
                int j = 1;
                boolean b = true;
                while (b) {
                    int c = (int) Math.pow(2, j);
                    if (a % c == 0) {
                        count++;
                        j++;
                    } else {
                        b = false;
                    }
                }
            }
        }
        System.out.println(count);
    }
} public class Main {

    static Scanner sc = new Scanner(System.in);


    public static void main(String[] args) {
        int n = sc.nextInt();
        int a;
        int count = 0;
        for (int i = 0; i < n; i++) {
            a = sc.nextInt();
            if (a % 2 == 0) {
                int j = 1;
                boolean b = true;
                while (b) {
                    int c = (int) Math.pow(2, j);
                    if (a % c == 0) {
                        count++;
                        j++;
                    } else {
                        b = false;
                    }
                }
            }
        }
        System.out.println(count);
    }
} Main


import java.util.Scanner;

public class Main {

    static Scanner sc = new Scanner(System.in);


    public static void main(String[] args) {
        int n = sc.nextInt();
        int a;
        int count = 0;
        for (int i = 0; i < n; i++) {
            a = sc.nextInt();
            if (a % 2 == 0) {
                int j = 1;
                boolean b = true;
                while (b) {
                    int c = (int) Math.pow(2, j);
                    if (a % c == 0) {
                        count++;
                        j++;
                    } else {
                        b = false;
                    }
                }
            }
        }
        System.out.println(count);
    }
}
