program esep;
var a,b,c,x:real;
x1,x2:real;
d:real;
begin
readln(a,b,c);
d:=b*b-4*a*c;
if d>0 then
begin
x1:=(-b+sqrt(d))/2*a;
x2:=(-b-sqrt(d))/2*a;
writeln(x1);
writeln(x2);
end;
if d=0 then
x:=(-b)/2*a;
writeln(x);
if d<0 then
writeln('Tendeudin tubiri jok');
readln;
end.