Problem 22863 --Overlapping cells

22863: Overlapping cells

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 17  Solved: 7
[Submit][Status][Web Board][Creator:][下载FPS1元][添加到购物车][下载测试数据1元][672kb]

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

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

Sample Output

16.76
25.13
6.28

HINT


Π = 3.1415926535898

Source

[Submit][Status]