import java.util.Scanner;

public class Main {

    public static void main(String[] args) throws Exception {

//    	File file = new File("test.txt");
//    	Scanner sc = new Scanner(file);
    	Scanner sc = new Scanner(System.in);
    	int N = sc.nextInt();
    	long[] ary = new long[N];
    	int ans = 0;
    	for(int i = 0; i < N; i++){
    		ary[i] = sc.nextLong();
		}
    	sc.close();
    	for (int i = 0; i < N; i++)
        {
            while(ary[i] % 2 == 0)
            {
                ans++;
                ary[i] /= 2;
            }
        }
    	System.out.println(ans);
    }

} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) throws Exception {

//    	File file = new File("test.txt");
//    	Scanner sc = new Scanner(file);
    	Scanner sc = new Scanner(System.in);
    	int N = sc.nextInt();
    	long[] ary = new long[N];
    	int ans = 0;
    	for(int i = 0; i < N; i++){
    		ary[i] = sc.nextLong();
		}
    	sc.close();
    	for (int i = 0; i < N; i++)
        {
            while(ary[i] % 2 == 0)
            {
                ans++;
                ary[i] /= 2;
            }
        }
    	System.out.println(ans);
    }

} Main public static void main(String[] args) throws Exception {

//    	File file = new File("test.txt");
//    	Scanner sc = new Scanner(file);
    	Scanner sc = new Scanner(System.in);
    	int N = sc.nextInt();
    	long[] ary = new long[N];
    	int ans = 0;
    	for(int i = 0; i < N; i++){
    		ary[i] = sc.nextLong();
		}
    	sc.close();
    	for (int i = 0; i < N; i++)
        {
            while(ary[i] % 2 == 0)
            {
                ans++;
                ary[i] /= 2;
            }
        }
    	System.out.println(ans);
    } main {

//    	File file = new File("test.txt");
//    	Scanner sc = new Scanner(file);
    	Scanner sc = new Scanner(System.in);
    	int N = sc.nextInt();
    	long[] ary = new long[N];
    	int ans = 0;
    	for(int i = 0; i < N; i++){
    		ary[i] = sc.nextLong();
		}
    	sc.close();
    	for (int i = 0; i < N; i++)
        {
            while(ary[i] % 2 == 0)
            {
                ans++;
                ary[i] /= 2;
            }
        }
    	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 long[] ary = new long[N]; ary new long[N] N int ans = 0; ans 0 for(int i = 0; i < N; i++){
    		ary[i] = sc.nextLong();
		} int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
    		ary[i] = sc.nextLong();
		} {
    		ary[i] = sc.nextLong();
		} ary[i] = sc.nextLong() ary[i] ary i sc.nextLong() sc.nextLong sc sc.close() sc.close sc for (int i = 0; i < N; i++)
        {
            while(ary[i] % 2 == 0)
            {
                ans++;
                ary[i] /= 2;
            }
        } int i = 0; int i = 0; i 0 i < N i N i++ i++ i {
            while(ary[i] % 2 == 0)
            {
                ans++;
                ary[i] /= 2;
            }
        } {
            while(ary[i] % 2 == 0)
            {
                ans++;
                ary[i] /= 2;
            }
        } while(ary[i] % 2 == 0)
            {
                ans++;
                ary[i] /= 2;
            } ary[i] % 2 == 0 ary[i] % 2 ary[i] ary i 2 0 {
                ans++;
                ary[i] /= 2;
            } ans++ ans ary[i] /= 2 ary[i] ary i 2 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) throws Exception {

//    	File file = new File("test.txt");
//    	Scanner sc = new Scanner(file);
    	Scanner sc = new Scanner(System.in);
    	int N = sc.nextInt();
    	long[] ary = new long[N];
    	int ans = 0;
    	for(int i = 0; i < N; i++){
    		ary[i] = sc.nextLong();
		}
    	sc.close();
    	for (int i = 0; i < N; i++)
        {
            while(ary[i] % 2 == 0)
            {
                ans++;
                ary[i] /= 2;
            }
        }
    	System.out.println(ans);
    }

} public class Main {

    public static void main(String[] args) throws Exception {

//    	File file = new File("test.txt");
//    	Scanner sc = new Scanner(file);
    	Scanner sc = new Scanner(System.in);
    	int N = sc.nextInt();
    	long[] ary = new long[N];
    	int ans = 0;
    	for(int i = 0; i < N; i++){
    		ary[i] = sc.nextLong();
		}
    	sc.close();
    	for (int i = 0; i < N; i++)
        {
            while(ary[i] % 2 == 0)
            {
                ans++;
                ary[i] /= 2;
            }
        }
    	System.out.println(ans);
    }

} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) throws Exception {

//    	File file = new File("test.txt");
//    	Scanner sc = new Scanner(file);
    	Scanner sc = new Scanner(System.in);
    	int N = sc.nextInt();
    	long[] ary = new long[N];
    	int ans = 0;
    	for(int i = 0; i < N; i++){
    		ary[i] = sc.nextLong();
		}
    	sc.close();
    	for (int i = 0; i < N; i++)
        {
            while(ary[i] % 2 == 0)
            {
                ans++;
                ary[i] /= 2;
            }
        }
    	System.out.println(ans);
    }

}
