from scipy import integrate n = int(input()) print(integrate.quad(lambda x: (x**3 + n**3) ** .5, 0, 1)[0])