import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.List;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Arrays;
 
 
class Main
{
    public static void main(String[] args)
    {
        int ans = 0;
        int count = 0;
        int s[] = new int[100000000];
        
        Scanner scanner = new Scanner(System.in);
        int d = scanner.nextInt();
        for(int i = 0; i< d; i++){
            s[i] = scanner.nextInt();
        }

        for(int j = 0; j< d ;j++){
            ans = s[j];
            while(ans % 2 ==0){
                count++;
                ans = ans/2;
            }      
        }
        System.out.println(count);
        scanner.close();
    }
} import java.util.*; util.* java import java.lang.*; lang.* java import java.io.*; io.* java import java.util.List; List java.util import java.util.ArrayList; ArrayList java.util import java.util.Comparator; Comparator java.util import java.util.Arrays; Arrays java.util class Main
{
    public static void main(String[] args)
    {
        int ans = 0;
        int count = 0;
        int s[] = new int[100000000];
        
        Scanner scanner = new Scanner(System.in);
        int d = scanner.nextInt();
        for(int i = 0; i< d; i++){
            s[i] = scanner.nextInt();
        }

        for(int j = 0; j< d ;j++){
            ans = s[j];
            while(ans % 2 ==0){
                count++;
                ans = ans/2;
            }      
        }
        System.out.println(count);
        scanner.close();
    }
} Main public static void main(String[] args)
    {
        int ans = 0;
        int count = 0;
        int s[] = new int[100000000];
        
        Scanner scanner = new Scanner(System.in);
        int d = scanner.nextInt();
        for(int i = 0; i< d; i++){
            s[i] = scanner.nextInt();
        }

        for(int j = 0; j< d ;j++){
            ans = s[j];
            while(ans % 2 ==0){
                count++;
                ans = ans/2;
            }      
        }
        System.out.println(count);
        scanner.close();
    } main {
        int ans = 0;
        int count = 0;
        int s[] = new int[100000000];
        
        Scanner scanner = new Scanner(System.in);
        int d = scanner.nextInt();
        for(int i = 0; i< d; i++){
            s[i] = scanner.nextInt();
        }

        for(int j = 0; j< d ;j++){
            ans = s[j];
            while(ans % 2 ==0){
                count++;
                ans = ans/2;
            }      
        }
        System.out.println(count);
        scanner.close();
    } int ans = 0; ans 0 int count = 0; count 0 int s[] = new int[100000000]; s new int[100000000] 100000000 Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int d = scanner.nextInt(); d scanner.nextInt() scanner.nextInt scanner for(int i = 0; i< d; i++){
            s[i] = scanner.nextInt();
        } int i = 0; int i = 0; i 0 i< d i d i++ i++ i {
            s[i] = scanner.nextInt();
        } {
            s[i] = scanner.nextInt();
        } s[i] = scanner.nextInt() s[i] s i scanner.nextInt() scanner.nextInt scanner for(int j = 0; j< d ;j++){
            ans = s[j];
            while(ans % 2 ==0){
                count++;
                ans = ans/2;
            }      
        } int j = 0; int j = 0; j 0 j< d j d j++ j++ j {
            ans = s[j];
            while(ans % 2 ==0){
                count++;
                ans = ans/2;
            }      
        } {
            ans = s[j];
            while(ans % 2 ==0){
                count++;
                ans = ans/2;
            }      
        } ans = s[j] ans s[j] s j while(ans % 2 ==0){
                count++;
                ans = ans/2;
            } ans % 2 ==0 ans % 2 ans 2 0 {
                count++;
                ans = ans/2;
            } count++ count ans = ans/2 ans ans/2 ans 2 System.out.println(count) System.out.println System.out System System.out count scanner.close() scanner.close scanner String[] args args
import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.List;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Arrays;
 
 
class Main
{
    public static void main(String[] args)
    {
        int ans = 0;
        int count = 0;
        int s[] = new int[100000000];
        
        Scanner scanner = new Scanner(System.in);
        int d = scanner.nextInt();
        for(int i = 0; i< d; i++){
            s[i] = scanner.nextInt();
        }

        for(int j = 0; j< d ;j++){
            ans = s[j];
            while(ans % 2 ==0){
                count++;
                ans = ans/2;
            }      
        }
        System.out.println(count);
        scanner.close();
    }
}