N = int(input()) print(5.0 * (3 + 5 ** 0.5) * N * N * N / 12)