from math import sqrt n = int(input()) print(5 * (3 + sqrt(5)) * n**3 / 12)