public static void main ( String [ ] args ) {
  Scanner sc = new Scanner ( System . in ) ;
  double A = ( double ) ( sc . nextInt ( ) ) ;
  double B = ( double ) ( sc . nextInt ( ) ) ;
  double C = ( double ) ( sc . nextInt ( ) ) ;
  double PI = 3.1415926535897932384626d ;
  double min = 0d ;
  double max = 100d ;
  while ( Math . abs ( A * min + B * Math . sin ( C * PI * min ) - 100d ) > 0.0000001 ) {
    double middle = ( min + max ) / 2 ;
    if ( A * middle + B * Math . sin ( C * PI * middle ) - 100d < 0 ) {
      min = middle ;
    }
    else {
      max = middle ;
    }
  }
  System . out . println ( min ) ;
}

public static void main ( String [ ] args ) { Scanner sc = new Scanner ( System . in ) ; double A = ( double ) ( sc . nextInt ( ) ) ; double B = ( double ) ( sc . nextInt ( ) ) ; double C = ( double ) ( sc . nextInt ( ) ) ; double PI = 3.1415926535897932384626d ; double min = 0d ; double max = 100d ; while ( Math . abs ( A * min + B * Math . sin ( C * PI * min ) - 100d ) > 0.0000001 ) { double middle = ( min + max ) / 2 ; if ( A * middle + B * Math . sin ( C * PI * middle ) - 100d < 0 ) { min = middle ; } else { max = middle ; } } System . out . println ( min ) ; }
(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 (field_access object: (identifier) field: (identifier)))))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (cast_expression type: (floating_point_type) value: (parenthesized_expression (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (cast_expression type: (floating_point_type) value: (parenthesized_expression (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (cast_expression type: (floating_point_type) value: (parenthesized_expression (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (decimal_floating_point_literal))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (decimal_floating_point_literal))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (decimal_floating_point_literal))) (while_statement condition: (parenthesized_expression (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))))) right: (decimal_floating_point_literal)))) right: (decimal_floating_point_literal))) body: (block (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (decimal_integer_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))))) right: (decimal_floating_point_literal)) right: (decimal_integer_literal))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (block (expression_statement (assignment_expression left: (identifier) right: (identifier))))))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (identifier))))))