C=int(input())*10**15 i=0 while 1: if i**5+i*10**12>C:exit(print((i-1)//1000,".",str(i+999)[1:],sep="")) i+=1