import java.util.*;

public class Main {
	
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		int d,m = 0;
		for(int i = 0;i < n;i ++) {
			d = in.nextInt();
		    while(d % 2 == 0) {
		    	d /= 2;
		    	m ++;
		    }
		}
		System.out.println(m);
	}
} import java.util.*; util.* java public class Main {
	
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		int d,m = 0;
		for(int i = 0;i < n;i ++) {
			d = in.nextInt();
		    while(d % 2 == 0) {
		    	d /= 2;
		    	m ++;
		    }
		}
		System.out.println(m);
	}
} Main public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		int d,m = 0;
		for(int i = 0;i < n;i ++) {
			d = in.nextInt();
		    while(d % 2 == 0) {
		    	d /= 2;
		    	m ++;
		    }
		}
		System.out.println(m);
	} main {
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		int d,m = 0;
		for(int i = 0;i < n;i ++) {
			d = in.nextInt();
		    while(d % 2 == 0) {
		    	d /= 2;
		    	m ++;
		    }
		}
		System.out.println(m);
	} Scanner in = new Scanner(System.in); in new Scanner(System.in) int n = in.nextInt(); n in.nextInt() in.nextInt in int d d m = 0; m 0 for(int i = 0;i < n;i ++) {
			d = in.nextInt();
		    while(d % 2 == 0) {
		    	d /= 2;
		    	m ++;
		    }
		} int i = 0; int i = 0; i 0 i < n i n i ++ i ++ i {
			d = in.nextInt();
		    while(d % 2 == 0) {
		    	d /= 2;
		    	m ++;
		    }
		} {
			d = in.nextInt();
		    while(d % 2 == 0) {
		    	d /= 2;
		    	m ++;
		    }
		} d = in.nextInt() d in.nextInt() in.nextInt in while(d % 2 == 0) {
		    	d /= 2;
		    	m ++;
		    } d % 2 == 0 d % 2 d 2 0 {
		    	d /= 2;
		    	m ++;
		    } d /= 2 d 2 m ++ m System.out.println(m) System.out.println System.out System System.out m String[] args args public class Main {
	
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		int d,m = 0;
		for(int i = 0;i < n;i ++) {
			d = in.nextInt();
		    while(d % 2 == 0) {
		    	d /= 2;
		    	m ++;
		    }
		}
		System.out.println(m);
	}
} public class Main {
	
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		int d,m = 0;
		for(int i = 0;i < n;i ++) {
			d = in.nextInt();
		    while(d % 2 == 0) {
		    	d /= 2;
		    	m ++;
		    }
		}
		System.out.println(m);
	}
} Main
import java.util.*;

public class Main {
	
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		int d,m = 0;
		for(int i = 0;i < n;i ++) {
			d = in.nextInt();
		    while(d % 2 == 0) {
		    	d /= 2;
		    	m ++;
		    }
		}
		System.out.println(m);
	}
}
