static int fd ( int a ) {
  return fa [ a ] == a ? a : ( fa [ a ] = fd ( fa [ a ] ) ) ;
}

static int fd ( int a ) { return fa [ a ] == a ? a : ( fa [ a ] = fd ( fa [ a ] ) ) ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (return_statement (ternary_expression condition: (binary_expression left: (array_access array: (identifier) index: (identifier)) right: (identifier)) consequence: (identifier) alternative: (parenthesized_expression (assignment_expression left: (array_access array: (identifier) index: (identifier)) right: (method_invocation name: (identifier) arguments: (argument_list (array_access array: (identifier) index: (identifier))))))))))