import math print((15 + 5 * math.sqrt(5)) * int(input()) ** 3 / 12)