program eee;
var
a,b,c,d,s:real;
i,j:integer;
begin
assign(input,'3cfc.in');
assign(output,'3cfc.out');
reset(input);
rewrite(output);
readln(a,b,c,d);
for i:=-10000 to 10000 do
begin
s:=i/100;
if abs(s*s*s*a+s*s*b+s*c+d)<=0.000001
then begin
inc(j);
if j=3 then begin writeln(s:0:2); halt end
else write(s:0:2,' ')
end;
end;
close(input);
close(output);
end.