#include <cstdio>
#include <cmath>
using namespace std;

int main() {
    int n;
    while (true) {
        scanf("%d", &n);
        if (n == -1) break;
        printf("%.6f\n", pow(n, 1.0 / 3));
    }
    return 0;
}