def fun(a): res = 5 * (3 + 5**0.5) / 12 * a**3 return round(res, 10) n = int(input()) print(fun(n))