Three Balls

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

문제

Do you like problems with short and clear statement? You are given three balls in three-dimensional space. The balls do not intersect and have different radii. Find the volume of their convex hull.

입력

The input consists of three lines, each line describes one ball.

Each line contains four integers x_kx\_k, y_ky\_k, z_kz\_k, r_kr\_k: the coordinates of the center of the kk-th ball and its radius (1r_k1001 \leq r\_k \leq 100, 0x_k,y_k,z_k1000 \leq x\_k, y\_k, z\_k \leq 100).

It is guaranteed that the balls do not intersect and do not touch. In addition, r_1<r_2<r_3r\_1 < r\_2 < r\_3.

출력

Print the volume of the convex hull. The output will be accepted if it has absolute or relative error at most 10710^{-7}.