Three Points

아직 제출이 없습니다시간 제한1초메모리 제한512 MB

문제

Bobo has three points, namely, point AA, BB and CC. And now he wants to find a point PP to minimize PA+2PB+3PC|PA| + 2 \cdot |PB| + 3 \cdot |PC|.

Note that AB|AB| denotes the Euclidian distance between points AA and BB.

입력

Each of the 33 lines contains 22 integers x_i,y_ix\_i, y\_i, which denotes the coordinates of point A,B,CA, B, C, respectively (x_i,y_i10000|x\_i|, |y\_i| \leq 10000).

출력

A single float number denotes the minimum of total distance. Absolutely or relatively error within 10610^{-6} will get accepted.