N = int(input()) bottom = N/3 height = (bottom**2 - (0.5*bottom)**2) ** (0.5) ans = bottom * height * 0.5 print(ans)