import java.util.*;


public class Main {
    public static void main(String[] args) {
        // 自分の得意な言語で
        // Let's チャレンジ！！

        Scanner sc = new Scanner(System.in);
        int numberCount = sc.nextInt();
        int count = 0;
        while (numberCount-- > 0) {
            long number = sc.nextLong();
            while (number % 2 == 0) {
                number /= 2;
                count++;
            }
        }
        System.out.println(count);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        // 自分の得意な言語で
        // Let's チャレンジ！！

        Scanner sc = new Scanner(System.in);
        int numberCount = sc.nextInt();
        int count = 0;
        while (numberCount-- > 0) {
            long number = sc.nextLong();
            while (number % 2 == 0) {
                number /= 2;
                count++;
            }
        }
        System.out.println(count);
    }
} Main public static void main(String[] args) {
        // 自分の得意な言語で
        // Let's チャレンジ！！

        Scanner sc = new Scanner(System.in);
        int numberCount = sc.nextInt();
        int count = 0;
        while (numberCount-- > 0) {
            long number = sc.nextLong();
            while (number % 2 == 0) {
                number /= 2;
                count++;
            }
        }
        System.out.println(count);
    } main {
        // 自分の得意な言語で
        // Let's チャレンジ！！

        Scanner sc = new Scanner(System.in);
        int numberCount = sc.nextInt();
        int count = 0;
        while (numberCount-- > 0) {
            long number = sc.nextLong();
            while (number % 2 == 0) {
                number /= 2;
                count++;
            }
        }
        System.out.println(count);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int numberCount = sc.nextInt(); numberCount sc.nextInt() sc.nextInt sc int count = 0; count 0 while (numberCount-- > 0) {
            long number = sc.nextLong();
            while (number % 2 == 0) {
                number /= 2;
                count++;
            }
        } numberCount-- > 0 numberCount-- numberCount 0 {
            long number = sc.nextLong();
            while (number % 2 == 0) {
                number /= 2;
                count++;
            }
        } long number = sc.nextLong(); number sc.nextLong() sc.nextLong sc while (number % 2 == 0) {
                number /= 2;
                count++;
            } number % 2 == 0 number % 2 number 2 0 {
                number /= 2;
                count++;
            } number /= 2 number 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) {
        // 自分の得意な言語で
        // Let's チャレンジ！！

        Scanner sc = new Scanner(System.in);
        int numberCount = sc.nextInt();
        int count = 0;
        while (numberCount-- > 0) {
            long number = sc.nextLong();
            while (number % 2 == 0) {
                number /= 2;
                count++;
            }
        }
        System.out.println(count);
    }
} public class Main {
    public static void main(String[] args) {
        // 自分の得意な言語で
        // Let's チャレンジ！！

        Scanner sc = new Scanner(System.in);
        int numberCount = sc.nextInt();
        int count = 0;
        while (numberCount-- > 0) {
            long number = sc.nextLong();
            while (number % 2 == 0) {
                number /= 2;
                count++;
            }
        }
        System.out.println(count);
    }
} Main
import java.util.*;


public class Main {
    public static void main(String[] args) {
        // 自分の得意な言語で
        // Let's チャレンジ！！

        Scanner sc = new Scanner(System.in);
        int numberCount = sc.nextInt();
        int count = 0;
        while (numberCount-- > 0) {
            long number = sc.nextLong();
            while (number % 2 == 0) {
                number /= 2;
                count++;
            }
        }
        System.out.println(count);
    }
}