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