import java.util.Scanner;

public class Main {
	  public static void main(String args[]) {
		    Scanner scanner = new Scanner(System.in);

		    int N = scanner.nextInt();
		    long array[];
		    array = new long [N];
		    int counter = 0;
		    for(int i = 0; i < array.length; i++)
		    {
		    	array[i] = scanner.nextLong();
		    	while(array[i]%2 == 0)
		    	{
		    		counter = counter + 1;
		    		array[i] = array[i]/2;
		    	}
		    }
		    System.out.println(counter);
		    		scanner.close();}
		  } import java.util.Scanner; Scanner java.util public class Main {
	  public static void main(String args[]) {
		    Scanner scanner = new Scanner(System.in);

		    int N = scanner.nextInt();
		    long array[];
		    array = new long [N];
		    int counter = 0;
		    for(int i = 0; i < array.length; i++)
		    {
		    	array[i] = scanner.nextLong();
		    	while(array[i]%2 == 0)
		    	{
		    		counter = counter + 1;
		    		array[i] = array[i]/2;
		    	}
		    }
		    System.out.println(counter);
		    		scanner.close();}
		  } Main public static void main(String args[]) {
		    Scanner scanner = new Scanner(System.in);

		    int N = scanner.nextInt();
		    long array[];
		    array = new long [N];
		    int counter = 0;
		    for(int i = 0; i < array.length; i++)
		    {
		    	array[i] = scanner.nextLong();
		    	while(array[i]%2 == 0)
		    	{
		    		counter = counter + 1;
		    		array[i] = array[i]/2;
		    	}
		    }
		    System.out.println(counter);
		    		scanner.close();} main {
		    Scanner scanner = new Scanner(System.in);

		    int N = scanner.nextInt();
		    long array[];
		    array = new long [N];
		    int counter = 0;
		    for(int i = 0; i < array.length; i++)
		    {
		    	array[i] = scanner.nextLong();
		    	while(array[i]%2 == 0)
		    	{
		    		counter = counter + 1;
		    		array[i] = array[i]/2;
		    	}
		    }
		    System.out.println(counter);
		    		scanner.close();} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int N = scanner.nextInt(); N scanner.nextInt() scanner.nextInt scanner long array[]; array array = new long [N] array new long [N] N int counter = 0; counter 0 for(int i = 0; i < array.length; i++)
		    {
		    	array[i] = scanner.nextLong();
		    	while(array[i]%2 == 0)
		    	{
		    		counter = counter + 1;
		    		array[i] = array[i]/2;
		    	}
		    } int i = 0; int i = 0; i 0 i < array.length i array.length array array.length i++ i++ i {
		    	array[i] = scanner.nextLong();
		    	while(array[i]%2 == 0)
		    	{
		    		counter = counter + 1;
		    		array[i] = array[i]/2;
		    	}
		    } {
		    	array[i] = scanner.nextLong();
		    	while(array[i]%2 == 0)
		    	{
		    		counter = counter + 1;
		    		array[i] = array[i]/2;
		    	}
		    } array[i] = scanner.nextLong() array[i] array i scanner.nextLong() scanner.nextLong scanner while(array[i]%2 == 0)
		    	{
		    		counter = counter + 1;
		    		array[i] = array[i]/2;
		    	} array[i]%2 == 0 array[i]%2 array[i] array i 2 0 {
		    		counter = counter + 1;
		    		array[i] = array[i]/2;
		    	} counter = counter + 1 counter counter + 1 counter 1 array[i] = array[i]/2 array[i] array i array[i]/2 array[i] array i 2 System.out.println(counter) System.out.println System.out System System.out counter scanner.close() scanner.close scanner String args[] args public class Main {
	  public static void main(String args[]) {
		    Scanner scanner = new Scanner(System.in);

		    int N = scanner.nextInt();
		    long array[];
		    array = new long [N];
		    int counter = 0;
		    for(int i = 0; i < array.length; i++)
		    {
		    	array[i] = scanner.nextLong();
		    	while(array[i]%2 == 0)
		    	{
		    		counter = counter + 1;
		    		array[i] = array[i]/2;
		    	}
		    }
		    System.out.println(counter);
		    		scanner.close();}
		  } public class Main {
	  public static void main(String args[]) {
		    Scanner scanner = new Scanner(System.in);

		    int N = scanner.nextInt();
		    long array[];
		    array = new long [N];
		    int counter = 0;
		    for(int i = 0; i < array.length; i++)
		    {
		    	array[i] = scanner.nextLong();
		    	while(array[i]%2 == 0)
		    	{
		    		counter = counter + 1;
		    		array[i] = array[i]/2;
		    	}
		    }
		    System.out.println(counter);
		    		scanner.close();}
		  } Main
import java.util.Scanner;

public class Main {
	  public static void main(String args[]) {
		    Scanner scanner = new Scanner(System.in);

		    int N = scanner.nextInt();
		    long array[];
		    array = new long [N];
		    int counter = 0;
		    for(int i = 0; i < array.length; i++)
		    {
		    	array[i] = scanner.nextLong();
		    	while(array[i]%2 == 0)
		    	{
		    		counter = counter + 1;
		    		array[i] = array[i]/2;
		    	}
		    }
		    System.out.println(counter);
		    		scanner.close();}
		  }