public static void main ( String [ ] __ ) {
  int x = getInt ( ) , y = getInt ( ) , r = getInt ( ) ;
  Ellipse2D . Double red = new Ellipse2D . Double ( x - r , y - r , r * 2 , r * 2 ) ;
  x = getInt ( ) ;
  y = getInt ( ) ;
  int xx = getInt ( ) , yy = getInt ( ) ;
  Rectangle2D . Double blue = new Rectangle2D . Double ( x , y , xx - x , yy - y ) ;
  System . out . println ( blue . contains ( red . getBounds2D ( ) ) ? "NO" : "YES" ) ;
  System . out . println ( red . contains ( blue ) ? "NO" : "YES" ) ;
}

public static void main ( String [ ] __ ) { int x = getInt ( ) , y = getInt ( ) , r = getInt ( ) ; Ellipse2D . Double red = new Ellipse2D . Double ( x - r , y - r , r * 2 , r * 2 ) ; x = getInt ( ) ; y = getInt ( ) ; int xx = getInt ( ) , yy = getInt ( ) ; Rectangle2D . Double blue = new Rectangle2D . Double ( x , y , xx - x , yy - y ) ; System . out . println ( blue . contains ( red . getBounds2D ( ) ) ? " NO " : " YES " ) ; System . out . println ( red . contains ( blue ) ? " NO " : " YES " ) ; }
(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 name: (identifier) arguments: (argument_list))) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list))) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (scoped_type_identifier (type_identifier) (type_identifier)) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (scoped_type_identifier (type_identifier) (type_identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (binary_expression left: (identifier) right: (identifier)) (binary_expression left: (identifier) right: (decimal_integer_literal)) (binary_expression left: (identifier) right: (decimal_integer_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (method_invocation name: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (method_invocation name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list))) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (scoped_type_identifier (type_identifier) (type_identifier)) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (scoped_type_identifier (type_identifier) (type_identifier)) arguments: (argument_list (identifier) (identifier) (binary_expression left: (identifier) right: (identifier)) (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (ternary_expression condition: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) consequence: (string_literal) alternative: (string_literal))))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (ternary_expression condition: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))) consequence: (string_literal) alternative: (string_literal)))))))