local a, b = io.read("*n", "*n") a = b - a print(string.format("%.10f", a * a * a / 6))