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