const rl = require("readline").createInterface({ input: process.stdin });
var iter = rl[Symbol.asyncIterator]();
const readline = async () => (await iter.next()).value;

void (async function () {
  let lines = []

  function Solution(number) {
    let x = 0.0001;
    let low = Math.min(-1.0, number);
    let high = Math.max(1.0, number);
    let ans = (low + high) / 2; // 中间值
    while (Math.abs(ans ** 3 - number) >= x) {
      if (ans ** 3 < number) {
        low = ans; // 向右找
      } else {
        high = ans; // 向左找
      }
      ans = (low + high) / 2;
    }

    return ans.toFixed(1);
  }

  while ((line = await readline())) {
    lines.push(line)

    if(lines.length === 1)
    console.log(Solution(parseFloat(lines[0])));
  }
})();