Program KVR;
var a, b, c, d: real;
begin
writeln ('Koreni kvadratnogo rivnyannya');
writeln ('VVedit koefizientu a, b, c, d, de a><0');
readln (a,b,c,d);
if d>0 then begin writeln((-b-sqrt(d))/(2*a),',',
(-b+sqrt(d))/(2*a)); end
else if d=0 then begin
writeln (-b/2*a);end else
writeln ('Rozvyazkiv nemae');
readln;
end.