#D10863. Circumscribed Circle of a Triangle

    ID: 9028 Type: Default 1000ms 268MiB

Circumscribed Circle of a Triangle

Circumscribed Circle of a Triangle

Write a program which prints the central coordinate (cxcx,cycy) and the radius rr of a circumscribed circle of a triangle which is constructed by three points (x1x_1, y1y_1), (x2x_2, y2y_2) and (x3x_3, y3y_3) on the plane surface.

Constraints

  • 10000xi,yi10000-10000 \leq x_i, y_i \leq 10000
  • The three points are not on the same straight line

Input

The input is given in the following format

x1x_1 y1y_1 x2x_2 y2y_2 x3x_3 y3y_3

All the input are integers.

Output

Print cxcx, cycy and rr separated by a single space in a line. The output val ues should be in a decimal fraction with an error less than 0.000001.

Examples

Input

1 -2 3 2 -2 0

Output

0.62500000000000000000 0.68750000000000000000 2.71353666826155124291

Input

0 3 4 0 0 0

Output

2.00000000000000000000 1.50000000000000000000 2.50000000000000000000

inputFormat

Input

The input is given in the following format

x1x_1 y1y_1 x2x_2 y2y_2 x3x_3 y3y_3

All the input are integers.

outputFormat

Output

Print cxcx, cycy and rr separated by a single space in a line. The output val ues should be in a decimal fraction with an error less than 0.000001.

Examples

Input

1 -2 3 2 -2 0

Output

0.62500000000000000000 0.68750000000000000000 2.71353666826155124291

Input

0 3 4 0 0 0

Output

2.00000000000000000000 1.50000000000000000000 2.50000000000000000000

样例

1 -2
3 2
-2 0
0.62500000000000000000 0.68750000000000000000 2.71353666826155124291