Given up to N \leq 3 circles on a plane, your task is to calculate the area of their union.
This problem is straightforward, so please avoid overly complex solutions.
The first line contains the integer (1 \leq N \leq 3).
Each of the next lines contains integers, representing the coordinates of the center and the radius of each circle.
All circles are entirely contained within the square defined by 0 \times 0 to 100 \times 100.
The radius of each circle is positive.
Output a single real number representing the area of the union of the circles.
The result should have a relative error no greater than 10^{-6}.
Example 1