from decimal import Decimal



L = eval(input())



l = Decimal(L) / 3



print((l ** 3))
L = int(eval(input()))

 

l = L / 3

 

print((l ** 3))

from decimal import Decimal

L = eval(input())
l = Decimal(L) / 3
print((l**3))

L = int(eval(input()))
l = L / 3
print((l**3))

-from decimal import Decimal - -L = eval(input()) -l = Decimal(L) / 3 +L = int(eval(input())) +l = L / 3