public static void main ( String [ ] args ) {
  System . out . println ( java . util . stream . Stream . generate ( ( ) -> null ) . limit ( scanner . nextInt ( ) ) . mapToInt ( n -> ( int ) ( Math . log ( Integer . lowestOneBit ( scanner . nextInt ( ) ) ) / Math . log ( 2 ) ) ) . sum ( ) ) ;
}

public static void main ( String [ ] args ) { System . out . println ( java . util . stream . Stream . generate ( ( ) -> null ) . limit ( scanner . nextInt ( ) ) . mapToInt ( n -> ( int ) ( Math . log ( Integer . lowestOneBit ( scanner . nextInt ( ) ) ) / Math . log ( 2 ) ) ) . sum ( ) ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (type_identifier) dimensions: (dimensions)) name: (identifier))) body: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (method_invocation object: (method_invocation object: (method_invocation object: (method_invocation object: (field_access object: (field_access object: (field_access object: (identifier) field: (identifier)) field: (identifier)) field: (identifier)) name: (identifier) arguments: (argument_list (lambda_expression parameters: (formal_parameters) body: (null_literal)))) name: (identifier) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) name: (identifier) arguments: (argument_list (lambda_expression parameters: (identifier) body: (cast_expression type: (integral_type) value: (parenthesized_expression (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal))))))))) name: (identifier) arguments: (argument_list)))))))