# https://qiita.com/nuo_t/items/d3f61f55ef5ba689dab4 from scipy import integrate n = int(input()) def f(x) : return (x**3 + n**3)**0.5 ans,err = integrate.quad(f,0,1) print('{:f}'.format(ans))