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