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