static String is_divisible ( int n ) {
  if ( n == 1 ) {
    return "YES" ;
  }
  else {
    if ( is_prime ( n + 1 ) ) return "NO" ;
    else return "YES" ;
  }
}

static String is_divisible ( int n ) { if ( n == 1 ) { return " YES " ; } else { if ( is_prime ( n + 1 ) ) return " NO " ; else return " YES " ; } }
(method_declaration (modifiers) type: (type_identifier) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) consequence: (block (return_statement (string_literal))) alternative: (block (if_statement condition: (parenthesized_expression (method_invocation name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (decimal_integer_literal))))) consequence: (return_statement (string_literal)) alternative: (return_statement (string_literal)))))))