import java.util.Scanner;

// 注意类名必须为 Main, 不要有任何 package xxx 信息
public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        // 注意 while 处理多个 case
        double a = in.nextDouble();
        System.out.printf("%.1f", sql(a));
    }
    public static double sql(double res) {
       if (res == 0.0) {return 0.0;}
        double a = Math.max(1.0, res);
        double b = Math.min(-1.0, res); 
        double result = 0.0;
        while ((a -b) > 0.0001) {
            double temp = (a + b) / 2;
            if (temp * temp * temp > res) {
                a = temp;
            } else if (temp * temp * temp < res) {
                b = temp;
            } else {
                return temp;
            }
            result = temp;
        }
        return result;
    }
}