public static void main ( String [ ] args ) {
  FastReader fs = new FastReader ( ) ;
  StringBuilder sb = new StringBuilder ( ) ;
  int d = fs . nextInt ( ) ;
  int h = fs . nextInt ( ) ;
  int v = fs . nextInt ( ) ;
  double e = ( fs . nextInt ( ) * Math . PI * d * d ) / 4.0 ;
  if ( Double . compare ( e , v ) >= 0 ) {
    System . out . println ( "NO" ) ;
    return ;
  }
  else {
    double startAmount = Math . PI * d * d * h / 4.0 ;
    System . out . println ( "YES" ) ;
    System . out . println ( startAmount / ( v - e ) ) ;
  }
}

public static void main ( String [ ] args ) { FastReader fs = new FastReader ( ) ; StringBuilder sb = new StringBuilder ( ) ; int d = fs . nextInt ( ) ; int h = fs . nextInt ( ) ; int v = fs . nextInt ( ) ; double e = ( fs . nextInt ( ) * Math . PI * d * d ) / 4.0 ; if ( Double . compare ( e , v ) >= 0 ) { System . out . println ( " NO " ) ; return ; } else { double startAmount = Math . PI * d * d * h / 4.0 ; System . out . println ( " YES " ) ; System . out . println ( startAmount / ( v - e ) ) ; } }
(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: (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: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)) right: (field_access object: (identifier) field: (identifier))) right: (identifier)) right: (identifier))) right: (decimal_floating_point_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier) (identifier))) right: (decimal_integer_literal))) consequence: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))) (return_statement)) alternative: (block (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (field_access object: (identifier) field: (identifier)) right: (identifier)) right: (identifier)) right: (identifier)) right: (decimal_floating_point_literal)))) (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 (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))))))