public static void main ( String [ ] args ) {
  Scanner sc = new Scanner ( System . in ) ;
  int n = sc . nextInt ( ) ;
  int [ ] [ ] x = new int [ n ] [ 2 ] ;
  for ( int i = 0 ;
  i < n ;
  i ++ ) {
    x [ i ] [ 0 ] = sc . nextInt ( ) ;
    x [ i ] [ 1 ] = sc . nextInt ( ) ;
  }
  sc . close ( ) ;
  if ( n == 2 ) {
    System . out . println ( 0.5 ) ;
    System . out . println ( 0.5 ) ;
    return ;
  }
  long [ ] num = new long [ n ] ;
  final int N = 3500000 ;
  double r = Math . pow ( 10 , 11 ) ;
  for ( int i = 0 ;
  i < N ;
  i ++ ) {
    double theta = 2.0d * Math . PI * ( double ) i / ( double ) N ;
    double mx = r * Math . cos ( theta ) ;
    double my = r * Math . sin ( theta ) ;
    double min = Math . pow ( 10 , 200 ) ;
    int minpos = 0 ;
    for ( int j = 0 ;
    j < n ;
    j ++ ) {
      double len = Math . pow ( ( double ) ( x [ j ] [ 0 ] ) - mx , 2 ) + Math . pow ( ( double ) ( x [ j ] [ 1 ] ) - my , 2 ) ;
      if ( len < min ) {
        min = len ;
        minpos = j ;
      }
    }
    num [ minpos ] ++ ;
  }
  for ( int i = 0 ;
  i < n ;
  i ++ ) {
    System . out . println ( ( double ) ( num [ i ] ) / ( double ) N ) ;
  }
}

public static void main ( String [ ] args ) { Scanner sc = new Scanner ( System . in ) ; int n = sc . nextInt ( ) ; int [ ] [ ] x = new int [ n ] [ 2 ] ; for ( int i = 0 ; i < n ; i ++ ) { x [ i ] [ 0 ] = sc . nextInt ( ) ; x [ i ] [ 1 ] = sc . nextInt ( ) ; } sc . close ( ) ; if ( n == 2 ) { System . out . println ( 0.5 ) ; System . out . println ( 0.5 ) ; return ; } long [ ] num = new long [ n ] ; final int N = 3500000 ; double r = Math . pow ( 10 , 11 ) ; for ( int i = 0 ; i < N ; i ++ ) { double theta = 2.0d * Math . PI * ( double ) i / ( double ) N ; double mx = r * Math . cos ( theta ) ; double my = r * Math . sin ( theta ) ; double min = Math . pow ( 10 , 200 ) ; int minpos = 0 ; for ( int j = 0 ; j < n ; j ++ ) { double len = Math . pow ( ( double ) ( x [ j ] [ 0 ] ) - mx , 2 ) + Math . pow ( ( double ) ( x [ j ] [ 1 ] ) - my , 2 ) ; if ( len < min ) { min = len ; minpos = j ; } } num [ minpos ] ++ ; } for ( int i = 0 ; i < n ; i ++ ) { System . out . println ( ( double ) ( num [ i ] ) / ( double ) N ) ; } }
(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: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (array_type element: (integral_type) dimensions: (dimensions)) declarator: (variable_declarator name: (identifier) value: (array_creation_expression type: (integral_type) dimensions: (dimensions_expr (identifier)) dimensions: (dimensions_expr (decimal_integer_literal))))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (identifier)) update: (update_expression (identifier)) body: (block (expression_statement (assignment_expression left: (array_access array: (array_access array: (identifier) index: (identifier)) index: (decimal_integer_literal)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (array_access array: (array_access array: (identifier) index: (identifier)) index: (decimal_integer_literal)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) consequence: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (decimal_floating_point_literal)))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (decimal_floating_point_literal)))) (return_statement))) (local_variable_declaration type: (array_type element: (integral_type) dimensions: (dimensions)) declarator: (variable_declarator name: (identifier) value: (array_creation_expression type: (integral_type) dimensions: (dimensions_expr (identifier))))) (local_variable_declaration (modifiers) type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal) (decimal_integer_literal))))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (identifier)) update: (update_expression (identifier)) body: (block (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (binary_expression left: (binary_expression left: (decimal_floating_point_literal) right: (field_access object: (identifier) field: (identifier))) right: (cast_expression type: (floating_point_type) value: (identifier))) right: (cast_expression type: (floating_point_type) value: (identifier))))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier)))))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier)))))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal) (decimal_integer_literal))))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (identifier)) update: (update_expression (identifier)) body: (block (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (cast_expression type: (floating_point_type) value: (parenthesized_expression (array_access array: (array_access array: (identifier) index: (identifier)) index: (decimal_integer_literal)))) right: (identifier)) (decimal_integer_literal))) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (cast_expression type: (floating_point_type) value: (parenthesized_expression (array_access array: (array_access array: (identifier) index: (identifier)) index: (decimal_integer_literal)))) right: (identifier)) (decimal_integer_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))))) (expression_statement (update_expression (array_access array: (identifier) index: (identifier)))))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (identifier)) update: (update_expression (identifier)) body: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (binary_expression left: (cast_expression type: (floating_point_type) value: (parenthesized_expression (array_access array: (identifier) index: (identifier)))) right: (cast_expression type: (floating_point_type) value: (identifier))))))))))