import java.util.*;
public class Main{
	 public static void main(String[] args) {
		 Scanner sc = new Scanner(System.in);
		 int n = sc.nextInt();
		 int w[]=new int[n];
		 boolean f=true;
		 for (int i = 0; i < n; i++) {
				w[i]=sc.nextInt();
				
				}
		 int temp=0;
		 for(int i=0;i<n;i++) {
			  for(int j=0;j<n;j++) {
				  if(w[i]<w[j]) {
				  temp=w[i];
				  w[i]=w[j];
				  w[j]=temp;
			  }
		 }
		 }
		 int ans=0;
		 for(int i=0;i<n;i++) {
			while(w[i]%2==0) {
				w[i]=w[i]/2;
				ans++;
				
			}
		 }
		System.out.println(ans);
		 
		 }
		 
	 }
	 import java.util.*; util.* java public class Main{
	 public static void main(String[] args) {
		 Scanner sc = new Scanner(System.in);
		 int n = sc.nextInt();
		 int w[]=new int[n];
		 boolean f=true;
		 for (int i = 0; i < n; i++) {
				w[i]=sc.nextInt();
				
				}
		 int temp=0;
		 for(int i=0;i<n;i++) {
			  for(int j=0;j<n;j++) {
				  if(w[i]<w[j]) {
				  temp=w[i];
				  w[i]=w[j];
				  w[j]=temp;
			  }
		 }
		 }
		 int ans=0;
		 for(int i=0;i<n;i++) {
			while(w[i]%2==0) {
				w[i]=w[i]/2;
				ans++;
				
			}
		 }
		System.out.println(ans);
		 
		 }
		 
	 } Main public static void main(String[] args) {
		 Scanner sc = new Scanner(System.in);
		 int n = sc.nextInt();
		 int w[]=new int[n];
		 boolean f=true;
		 for (int i = 0; i < n; i++) {
				w[i]=sc.nextInt();
				
				}
		 int temp=0;
		 for(int i=0;i<n;i++) {
			  for(int j=0;j<n;j++) {
				  if(w[i]<w[j]) {
				  temp=w[i];
				  w[i]=w[j];
				  w[j]=temp;
			  }
		 }
		 }
		 int ans=0;
		 for(int i=0;i<n;i++) {
			while(w[i]%2==0) {
				w[i]=w[i]/2;
				ans++;
				
			}
		 }
		System.out.println(ans);
		 
		 } main {
		 Scanner sc = new Scanner(System.in);
		 int n = sc.nextInt();
		 int w[]=new int[n];
		 boolean f=true;
		 for (int i = 0; i < n; i++) {
				w[i]=sc.nextInt();
				
				}
		 int temp=0;
		 for(int i=0;i<n;i++) {
			  for(int j=0;j<n;j++) {
				  if(w[i]<w[j]) {
				  temp=w[i];
				  w[i]=w[j];
				  w[j]=temp;
			  }
		 }
		 }
		 int ans=0;
		 for(int i=0;i<n;i++) {
			while(w[i]%2==0) {
				w[i]=w[i]/2;
				ans++;
				
			}
		 }
		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 int w[]=new int[n]; w new int[n] n boolean f=true; f true for (int i = 0; i < n; i++) {
				w[i]=sc.nextInt();
				
				} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
				w[i]=sc.nextInt();
				
				} {
				w[i]=sc.nextInt();
				
				} w[i]=sc.nextInt() w[i] w i sc.nextInt() sc.nextInt sc int temp=0; temp 0 for(int i=0;i<n;i++) {
			  for(int j=0;j<n;j++) {
				  if(w[i]<w[j]) {
				  temp=w[i];
				  w[i]=w[j];
				  w[j]=temp;
			  }
		 }
		 } int i=0; int i=0; i 0 i<n i n i++ i++ i {
			  for(int j=0;j<n;j++) {
				  if(w[i]<w[j]) {
				  temp=w[i];
				  w[i]=w[j];
				  w[j]=temp;
			  }
		 }
		 } {
			  for(int j=0;j<n;j++) {
				  if(w[i]<w[j]) {
				  temp=w[i];
				  w[i]=w[j];
				  w[j]=temp;
			  }
		 }
		 } for(int j=0;j<n;j++) {
				  if(w[i]<w[j]) {
				  temp=w[i];
				  w[i]=w[j];
				  w[j]=temp;
			  }
		 } int j=0; int j=0; j 0 j<n j n j++ j++ j {
				  if(w[i]<w[j]) {
				  temp=w[i];
				  w[i]=w[j];
				  w[j]=temp;
			  }
		 } {
				  if(w[i]<w[j]) {
				  temp=w[i];
				  w[i]=w[j];
				  w[j]=temp;
			  }
		 } if(w[i]<w[j]) {
				  temp=w[i];
				  w[i]=w[j];
				  w[j]=temp;
			  } w[i]<w[j] w[i] w i w[j] w j {
				  temp=w[i];
				  w[i]=w[j];
				  w[j]=temp;
			  } temp=w[i] temp w[i] w i w[i]=w[j] w[i] w i w[j] w j w[j]=temp w[j] w j temp int ans=0; ans 0 for(int i=0;i<n;i++) {
			while(w[i]%2==0) {
				w[i]=w[i]/2;
				ans++;
				
			}
		 } int i=0; int i=0; i 0 i<n i n i++ i++ i {
			while(w[i]%2==0) {
				w[i]=w[i]/2;
				ans++;
				
			}
		 } {
			while(w[i]%2==0) {
				w[i]=w[i]/2;
				ans++;
				
			}
		 } while(w[i]%2==0) {
				w[i]=w[i]/2;
				ans++;
				
			} w[i]%2==0 w[i]%2 w[i] w i 2 0 {
				w[i]=w[i]/2;
				ans++;
				
			} w[i]=w[i]/2 w[i] w i w[i]/2 w[i] w i 2 ans++ ans 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) {
		 Scanner sc = new Scanner(System.in);
		 int n = sc.nextInt();
		 int w[]=new int[n];
		 boolean f=true;
		 for (int i = 0; i < n; i++) {
				w[i]=sc.nextInt();
				
				}
		 int temp=0;
		 for(int i=0;i<n;i++) {
			  for(int j=0;j<n;j++) {
				  if(w[i]<w[j]) {
				  temp=w[i];
				  w[i]=w[j];
				  w[j]=temp;
			  }
		 }
		 }
		 int ans=0;
		 for(int i=0;i<n;i++) {
			while(w[i]%2==0) {
				w[i]=w[i]/2;
				ans++;
				
			}
		 }
		System.out.println(ans);
		 
		 }
		 
	 } public class Main{
	 public static void main(String[] args) {
		 Scanner sc = new Scanner(System.in);
		 int n = sc.nextInt();
		 int w[]=new int[n];
		 boolean f=true;
		 for (int i = 0; i < n; i++) {
				w[i]=sc.nextInt();
				
				}
		 int temp=0;
		 for(int i=0;i<n;i++) {
			  for(int j=0;j<n;j++) {
				  if(w[i]<w[j]) {
				  temp=w[i];
				  w[i]=w[j];
				  w[j]=temp;
			  }
		 }
		 }
		 int ans=0;
		 for(int i=0;i<n;i++) {
			while(w[i]%2==0) {
				w[i]=w[i]/2;
				ans++;
				
			}
		 }
		System.out.println(ans);
		 
		 }
		 
	 } Main
import java.util.*;
public class Main{
	 public static void main(String[] args) {
		 Scanner sc = new Scanner(System.in);
		 int n = sc.nextInt();
		 int w[]=new int[n];
		 boolean f=true;
		 for (int i = 0; i < n; i++) {
				w[i]=sc.nextInt();
				
				}
		 int temp=0;
		 for(int i=0;i<n;i++) {
			  for(int j=0;j<n;j++) {
				  if(w[i]<w[j]) {
				  temp=w[i];
				  w[i]=w[j];
				  w[j]=temp;
			  }
		 }
		 }
		 int ans=0;
		 for(int i=0;i<n;i++) {
			while(w[i]%2==0) {
				w[i]=w[i]/2;
				ans++;
				
			}
		 }
		System.out.println(ans);
		 
		 }
		 
	 }
	