#include<iostream>
#include <iomanip>
using namespace std;
int main()
{
int a,b,c,d;
cin>>a>>b>>c>>d;
cout<<'\n';
double m,e;
for(m=-100;m<=100;m+=0.001)
{
e=m+0.001;
if((a*m*m*m+b*m*m+c*m+d)*(a*e*e*e+b*e*e+c*e+d)<=0)
{
cout<<fixed;
cout<<setprecision(2)<<m<<" ";
}
}
cout<<endl;
return 0;
}