An axis-aligned tetrahedron (also known as triangular pyramid) $DABC$ is a convex polyhedron in three dimension with vertices
Also, an axis-aligned cube $PQRSDEFG$ is a convex polyhedron with vertices
Given an axis-aligned tetrahedron $DABC$ and an axis-aligned cube $PQRSDEFG$, find the volume of their intersection.
The input consists of several test cases terminated by end-of-file. For each test case,
There are $4$ lines, and the $i$-th line contains three integers $x_i$, $y_i$, and $z_i$.
For each test case, output a float which denotes the volume.
Your answer is considered correct if its absolute or relative error doesn't exceed $10^{-6}$.