public static int calc ( int n [ ] ) {
  int count = 0 ;
  while ( true ) {
    for ( int j = 0 ;
    j < n . length ;
    j ++ ) {
      if ( n [ j ] % 2 == 0 ) {
        n [ j ] /= 2 ;
      }
      else {
        return count ;
      }
    }
    count ++ ;
  }
}

public static int calc ( int n [ ] ) { int count = 0 ; while ( true ) { for ( int j = 0 ; j < n . length ; j ++ ) { if ( n [ j ] % 2 == 0 ) { n [ j ] /= 2 ; } else { return count ; } } count ++ ; } }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier) dimensions: (dimensions))) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) (while_statement condition: (parenthesized_expression (true)) body: (block (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (field_access object: (identifier) field: (identifier))) update: (update_expression (identifier)) body: (block (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (array_access array: (identifier) index: (identifier)) right: (decimal_integer_literal)) right: (decimal_integer_literal))) consequence: (block (expression_statement (assignment_expression left: (array_access array: (identifier) index: (identifier)) right: (decimal_integer_literal)))) alternative: (block (return_statement (identifier)))))) (expression_statement (update_expression (identifier)))))))