#D10354. Circle and Many Triangles

    ID: 8606 Type: Default 2000ms 268MiB

Circle and Many Triangles

Circle and Many Triangles

Input

The input is given from Standard Input in the following format:

N KN \ K

Output

  • Please output the KK-th triangle area.
  • Print a floating number denoting the answer. The relative or absolute error of your answer should not be higher than 10910^{−9}.

Constraints

  • 3N200,0003 \le N \le 200,000
  • 1KN(N1)(N2)61 \le K \le \frac{N(N-1)(N-2)}{6}

Subtasks

Subtask 1 [ 160160 points ]

  • N100N \le 100

Subtask 2 [ 240240 points ]

  • N1000N \le 1000

Subtask 3 [ 450450 points ]

  • N200,000N \le 200,000

Output

  • Please output the KK-th triangle area.
  • Print a floating number denoting the answer. The relative or absolute error of your answer should not be higher than 10910^{−9}.

Constraints

  • 3N200,0003 \le N \le 200,000
  • 1KN(N1)(N2)61 \le K \le \frac{N(N-1)(N-2)}{6}

Subtasks

Subtask 1 [ 160160 points ]

  • N100N \le 100

Subtask 2 [ 240240 points ]

  • N1000N \le 1000

Subtask 3 [ 450450 points ]

  • N200,000N \le 200,000

Input

The input is given from Standard Input in the following format:

N KN \ K

Examples

Input

4 3

Output

1.0000000000000

Input

6 9

Output

0.86602540378

Input

12 220

Output

1.29903810568

inputFormat

Input

The input is given from Standard Input in the following format:

N KN \ K

outputFormat

Output

  • Please output the KK-th triangle area.
  • Print a floating number denoting the answer. The relative or absolute error of your answer should not be higher than 10910^{−9}.

Constraints

  • 3N200,0003 \le N \le 200,000
  • 1KN(N1)(N2)61 \le K \le \frac{N(N-1)(N-2)}{6}

Subtasks

Subtask 1 [ 160160 points ]

  • N100N \le 100

Subtask 2 [ 240240 points ]

  • N1000N \le 1000

Subtask 3 [ 450450 points ]

  • N200,000N \le 200,000

Output

  • Please output the KK-th triangle area.
  • Print a floating number denoting the answer. The relative or absolute error of your answer should not be higher than 10910^{−9}.

Constraints

  • 3N200,0003 \le N \le 200,000
  • 1KN(N1)(N2)61 \le K \le \frac{N(N-1)(N-2)}{6}

Subtasks

Subtask 1 [ 160160 points ]

  • N100N \le 100

Subtask 2 [ 240240 points ]

  • N1000N \le 1000

Subtask 3 [ 450450 points ]

  • N200,000N \le 200,000

Input

The input is given from Standard Input in the following format:

N KN \ K

Examples

Input

4 3

Output

1.0000000000000

Input

6 9

Output

0.86602540378

Input

12 220

Output

1.29903810568

样例

4 3
1.0000000000000