import math def Main(): a=int(input()) print((15+5*math.sqrt(5))*a*a*a/12) Main()