import java.util.*;
import java.lang.*;
import java.io.*;
class Ideone
{
{
double a,b,c,d,D;
double x1,x2,x3;
Scanner in
= new Scanner
(System.
in); while (in.hasNextDouble()){
a = in.nextDouble();
b = in.nextDouble();
c = in.nextDouble();
d = in.nextDouble();
D=b*b-4*a*(c-d);
if(D>0){
x1
=(-b
-Math.
sqrt(D
))/(2*a
); x2
=(-b
+Math.
sqrt(D
))/(2*a
); System.
out.
println(x1
+" "+x2
+";"); }
else{
if(D==0){
x3=(-b)/(2*a);
}
else System.
out.
println("нет корней;"); }
}
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJZG91YmxlIGEsYixjLGQsRDsKCQlkb3VibGUgeDEseDIseDM7CgkJU2Nhbm5lciBpbiA9IG5ldyBTY2FubmVyKFN5c3RlbS5pbik7CgkJd2hpbGUgKGluLmhhc05leHREb3VibGUoKSl7CiAgICAgICAgICAgIAkJYSA9IGluLm5leHREb3VibGUoKTsKCQkJYiA9IGluLm5leHREb3VibGUoKTsKICAgICAgICAgICAgCQljID0gaW4ubmV4dERvdWJsZSgpOwogICAgICAgICAgICAJCWQgPSBpbi5uZXh0RG91YmxlKCk7CiAgICAgICAgICAgIAkJRD1iKmItNCphKihjLWQpOwogICAgICAgICAgICAJCWlmKEQ+MCl7CiAgICAgICAgICAgIAkJCXgxPSgtYi1NYXRoLnNxcnQoRCkpLygyKmEpOwogICAgICAgICAgICAJCQl4Mj0oLWIrTWF0aC5zcXJ0KEQpKS8oMiphKTsKICAgICAgICAgICAgCQkJU3lzdGVtLm91dC5wcmludGxuKHgxKyIgIit4MisiOyIpOwogICAgICAgICAgICAJCX0KICAgICAgICAgICAgCQllbHNlewogICAgICAgICAgICAJCQlpZihEPT0wKXsKICAgICAgICAgICAgCQkJCXgzPSgtYikvKDIqYSk7CiAgICAgICAgICAgIAkJCQlTeXN0ZW0ub3V0LnByaW50bG4oeDMrIjsiKTsKICAgICAgICAgICAgCQkJfQogICAgICAgICAgICAJCQllbHNlIFN5c3RlbS5vdXQucHJpbnRsbigi0L3QtdGCINC60L7RgNC90LXQuTsiKTsKICAgICAgICAgICAgCQl9CiAgICAgICAgICAgIAl9Cgl9Cn0KICAgICAgICAgICAgCQk=