s = (15 + 5 ** 1.5) / 12 a = int(input()) print(s * a ** 3)