public static void main ( String [ ] args ) {
  FastReader reader = new FastReader ( ) ;
  int d = reader . nextInt ( ) ;
  int h = reader . nextInt ( ) ;
  int v = reader . nextInt ( ) ;
  int e = reader . nextInt ( ) ;
  double area = ( Math . PI * d * d ) / 4.0 ;
  double drinking = v / area ;
  if ( drinking < e ) {
    System . out . println ( "NO" ) ;
  }
  else {
    double time = h / ( drinking - e ) ;
    System . out . println ( "YES" ) ;
    System . out . printf ( "%.4f\n" , time ) ;
  }
}

public static void main ( String [ ] args ) { FastReader reader = new FastReader ( ) ; int d = reader . nextInt ( ) ; int h = reader . nextInt ( ) ; int v = reader . nextInt ( ) ; int e = reader . nextInt ( ) ; double area = ( Math . PI * d * d ) / 4.0 ; double drinking = v / area ; if ( drinking < e ) { System . out . println ( " NO " ) ; } else { double time = h / ( drinking - e ) ; System . out . println ( " YES " ) ; System . out . printf ( " % .4f \n " , time ) ; } }
(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: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (field_access object: (identifier) field: (identifier)) right: (identifier)) right: (identifier))) right: (decimal_floating_point_literal)))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal))))) alternative: (block (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal) (identifier))))))))