def short(S):

    a = S/3

    return (a **3)





S =int(eval(input()))

print((short(S)))
n=int(eval(input()))

k=3123432442

print(("{:.12f}".format((n/3)**3)))
def short(S):
    a = S / 3
    return a**3


S = int(eval(input()))
print((short(S)))

n = int(eval(input()))
k = 3123432442
print(("{:.12f}".format((n / 3) ** 3)))

-def short(S): -    a = S / 3 -    return a**3 - - -S = int(eval(input())) -print((short(S))) +n = int(eval(input())) +k = 3123432442 +print(("{:.12f}".format((n / 3) ** 3)))