Problem22863--Overlapping cells

22863: Overlapping cells

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description


Today, Subaba is doing experiments ,he is observing overlap of  two cells. Now ,your task is to find out these the situation of two cells touching the nutrient solution.

To simplify the question, we take a cell as a circle.

Input


Input one row ,in which has 6 floating-point numbers, x1, y1, r1, x2, y2, r2 ( -1000000<=x1, y1, r1, x2, y2, r2<=1000000 )indicate the coordinate of circle center and radius of cell separately.


Output


The answer accurate to 2 decimal.


Sample Input Copy

-1 0 2 1 0 2
-2 0 2 2 0 2
1 1 1 1 1 1

Sample Output Copy

16.76
25.13
6.28

HINT

Π = 3.1415926535898

Source/Category