public static void solve ( int n , int a , int b ) {
  System . out . println ( Math . min ( ( n - a ) , ( b + 1 ) ) ) ;
}

public static void solve ( int n , int a , int b ) { System . out . println ( Math . min ( ( n - a ) , ( b + 1 ) ) ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier))) body: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))))))))))