public static void main ( String [ ] args ) {
  int a = sc . nextInt ( ) , b = sc . nextInt ( ) , x = sc . nextInt ( ) ;
  if ( x < a ) out . println ( "NO" ) ;
  else {
    out . println ( x - a <= b ? "YES" : "NO" ) ;
  }
}

public static void main ( String [ ] args ) { int a = sc . nextInt ( ) , b = sc . nextInt ( ) , x = sc . nextInt ( ) ; if ( x < a ) out . println ( " NO " ) ; else { out . println ( x - a <= b ? " YES " : " NO " ) ; } }
(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 (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (string_literal)))) alternative: (block (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (ternary_expression condition: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)) consequence: (string_literal) alternative: (string_literal)))))))))