n = int(input()) r = (n / 3) ** 0.5 print(max(1, r))