Problem: IT City administration has no rest because of the fame of the Pyramids in Egypt. There is a project of construction of pyramid complex near the city in the place called Emerald Walley. The distinction of the complex is that its pyramids will be not only quadrangular as in Egypt but also triangular and pentagonal. Of course the amount of the city budget funds for the construction depends on the pyramids' volume. Your task is to calculate the volume of the pilot project consisting of three pyramids — one triangular, one quadrangular and one pentagonal.

The first pyramid has equilateral triangle as its base, and all 6 edges of the pyramid have equal length. The second pyramid has a square as its base and all 8 edges of the pyramid have equal length. The third pyramid has a regular pentagon as its base and all 10 edges of the pyramid have equal length.

<image>

Input

The only line of the input contains three integers l3, l4, l5 (1 ≤ l3, l4, l5 ≤ 1000) — the edge lengths of triangular, quadrangular and pentagonal pyramids correspondingly.

Output

Output one number — the total volume of the pyramids. Absolute or relative error should not be greater than 10 - 9.

Examples

Input

2 5 3


Output

38.546168065709

Solution (in JAVA):

Solution:
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Pyramids {

    public static void main(String[] args) {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String linea;
            int l3, l4, l5;
            while ((linea = br.readLine()) != null) {
                l3 = Integer.parseInt(linea.split(" ")[0]);
                l4 = Integer.parseInt(linea.split(" ")[1]);
                l5 = Integer.parseInt(linea.split(" ")[2]);
                System.out.println((volumenTriangulo(l3) + volumenCuadrado(l4) + volumenPentagono(l5)));
            }
        } catch (Exception ex) {
        }
    }

    public static double volumenTriangulo(int l3) {
        double hb, area, ab, hp;
        hb = Math.sqrt((Math.pow((double) l3, 2) - Math.pow((double) (l3) / (double) (2), 2)));
        area = (l3 * hb) / 2;
        ab = hb / 3;
        hp = Math.sqrt((Math.pow(hb, 2) - Math.pow(ab, 2)));
        return (area * hp) / 3;
        //return 0;
    }

    public static double volumenCuadrado(int l4) {
        double area, h;
        area = l4 * l4;
        h = Math.sqrt((Math.pow((double) (l4 * (Math.sqrt(3)) / 2), 2) - Math.pow((double) (l4) / (double) (2), 2)));
        return (area * h) / 3;
    }

    public static double volumenPentagono(int l5) {
        double r, area, ab, h;
        r = (double) l5 / ((Math.sin(Math.toRadians(36))) * 2);
        ab = Math.sqrt((Math.pow(r, 2) - Math.pow((double) (l5) / (double) (2), 2)));
        h = Math.sqrt((Math.pow((double) l5, 2) - Math.pow(r, 2)));
        area = 5 * l5 * ab / 2;
        return (area * h) / 3;
    }

}