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