public static void main ( String [ ] args ) {
  FastReader scan = new FastReader ( ) ;
  int d = scan . nextInt ( ) ;
  int h = scan . nextInt ( ) ;
  int v = scan . nextInt ( ) ;
  int e = scan . nextInt ( ) ;
  double speed = ( double ) v / ( ( Math . PI * d * d ) / 4 ) ;
  if ( speed > ( double ) e ) {
    double seconds = ( double ) h / ( ( 4 * v ) / ( Math . PI * d * d ) - e ) ;
    if ( seconds > 0.0000 ) {
      System . out . println ( "YES" ) ;
      System . out . printf ( "%.12f" , seconds ) ;
    }
    else System . out . println ( "NO" ) ;
  }
  else System . out . println ( "NO" ) ;
}

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