#include<bits/stdc++.h>
using namespace std;
int temp;
double a, b, c, d;
double f(double x){
return a * x * x * x + b * x * x + c * x + d;
}
int main(){
cin >> a >> b >> c >> d;
for(double i = -100; i <= 100; i += 0.001){
if(abs(f(i)) - 0 < 0.001){
if(temp == 0)
temp = 1;
else
printf(" ");
printf("%.2llf", i);
}
}
return 0;
}
qwq