import java.util.*;

public class Main {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int N  = keyboard.nextInt();
		int a[] = new int[N];
		
		for(int i=0; i<N; i++) {
			a[i]  = keyboard.nextInt();
		}
		
		int ans = 0;
		
		for(int i = 0; i<N; i++) {
			while(a[i]%2 != 1) {
				ans++;
				a[i] /= 2;
			}
		}
		
		System.out.println(ans);
		keyboard.close();	
	}
} import java.util.*; util.* java public class Main {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int N  = keyboard.nextInt();
		int a[] = new int[N];
		
		for(int i=0; i<N; i++) {
			a[i]  = keyboard.nextInt();
		}
		
		int ans = 0;
		
		for(int i = 0; i<N; i++) {
			while(a[i]%2 != 1) {
				ans++;
				a[i] /= 2;
			}
		}
		
		System.out.println(ans);
		keyboard.close();	
	}
} Main public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int N  = keyboard.nextInt();
		int a[] = new int[N];
		
		for(int i=0; i<N; i++) {
			a[i]  = keyboard.nextInt();
		}
		
		int ans = 0;
		
		for(int i = 0; i<N; i++) {
			while(a[i]%2 != 1) {
				ans++;
				a[i] /= 2;
			}
		}
		
		System.out.println(ans);
		keyboard.close();	
	} main {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int N  = keyboard.nextInt();
		int a[] = new int[N];
		
		for(int i=0; i<N; i++) {
			a[i]  = keyboard.nextInt();
		}
		
		int ans = 0;
		
		for(int i = 0; i<N; i++) {
			while(a[i]%2 != 1) {
				ans++;
				a[i] /= 2;
			}
		}
		
		System.out.println(ans);
		keyboard.close();	
	} Scanner keyboard = new Scanner(System.in); keyboard new Scanner(System.in) int N  = keyboard.nextInt(); N keyboard.nextInt() keyboard.nextInt keyboard int a[] = new int[N]; a new int[N] N for(int i=0; i<N; i++) {
			a[i]  = keyboard.nextInt();
		} int i=0; int i=0; i 0 i<N i N i++ i++ i {
			a[i]  = keyboard.nextInt();
		} {
			a[i]  = keyboard.nextInt();
		} a[i]  = keyboard.nextInt() a[i] a i keyboard.nextInt() keyboard.nextInt keyboard int ans = 0; ans 0 for(int i = 0; i<N; i++) {
			while(a[i]%2 != 1) {
				ans++;
				a[i] /= 2;
			}
		} int i = 0; int i = 0; i 0 i<N i N i++ i++ i {
			while(a[i]%2 != 1) {
				ans++;
				a[i] /= 2;
			}
		} {
			while(a[i]%2 != 1) {
				ans++;
				a[i] /= 2;
			}
		} while(a[i]%2 != 1) {
				ans++;
				a[i] /= 2;
			} a[i]%2 != 1 a[i]%2 a[i] a i 2 1 {
				ans++;
				a[i] /= 2;
			} ans++ ans a[i] /= 2 a[i] a i 2 System.out.println(ans) System.out.println System.out System System.out ans keyboard.close() keyboard.close keyboard String[] args args public class Main {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int N  = keyboard.nextInt();
		int a[] = new int[N];
		
		for(int i=0; i<N; i++) {
			a[i]  = keyboard.nextInt();
		}
		
		int ans = 0;
		
		for(int i = 0; i<N; i++) {
			while(a[i]%2 != 1) {
				ans++;
				a[i] /= 2;
			}
		}
		
		System.out.println(ans);
		keyboard.close();	
	}
} public class Main {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int N  = keyboard.nextInt();
		int a[] = new int[N];
		
		for(int i=0; i<N; i++) {
			a[i]  = keyboard.nextInt();
		}
		
		int ans = 0;
		
		for(int i = 0; i<N; i++) {
			while(a[i]%2 != 1) {
				ans++;
				a[i] /= 2;
			}
		}
		
		System.out.println(ans);
		keyboard.close();	
	}
} Main
import java.util.*;

public class Main {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		int N  = keyboard.nextInt();
		int a[] = new int[N];
		
		for(int i=0; i<N; i++) {
			a[i]  = keyboard.nextInt();
		}
		
		int ans = 0;
		
		for(int i = 0; i<N; i++) {
			while(a[i]%2 != 1) {
				ans++;
				a[i] /= 2;
			}
		}
		
		System.out.println(ans);
		keyboard.close();	
	}
}
