l=int(input())
s=l/2
from math import sqrt
print(sqrt(s*pow(s-l/3,3)))