Given triangles, find the area of the union of these triangles.
Constraints
Input Specification
The first line contains an integer, .
Each of the next lines contains six space-separated integers, , representing the three vertices of the triangle.
Output Specification
Output the union area of the triangles.
Your answer will be accepted if the absolute error is within .
Sample Input
2
0 0 1 1 0 1
0 0 1 0 1 1
Sample Output
1.000
Comments