c = int(input()) c *= (10 ** 15) def calc(x) : return x ** 5 + x * (10 ** 12) x = 0 while calc(x+1) <= c : x += 1 print(f"{x//1000}.{x%1000:03}")