n=int(input()) ans = n**3 *(15+5*pow(5,0.5))/12 print(ans)