Pyramids#882

Pyramids

1 second
64 megabytes
Easy

The pyramids in this problem have a triangular base, making them tetrahedrons. Compute the volume of the pyramid based on the given edge lengths.

Input

The first line contains numbers separated by spaces, representing the lengths of the edges of pyramid . The edges are listed in the following order: , , , , , . Each edge length is a positive integer not exceeding .

Output

Output a single real number — the volume of the pyramid, rounded to four decimal places.

Examples

Example 1

Loading
Loading