import java.util.*;
import java.lang.*;
import java.io.*;
class Ideone
{
public static void main
(String[] args
) {
double a, b, c, d, D;
double x1,x2,x3;
Scanner s
=new Scanner
(System.
in); while(s.hasNext()){
a= s.nextInt();
b= s.nextInt();
c= s.nextInt();
d= s.nextInt();
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("no roots"+"; "); }
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpCgl7CgkJZG91YmxlIGEsIGIsIGMsIGQsIEQ7CgkJZG91YmxlIHgxLHgyLHgzOwoJCVNjYW5uZXIgcyA9bmV3IFNjYW5uZXIoU3lzdGVtLmluKTsKCQl3aGlsZShzLmhhc05leHQoKSl7CgkJCWE9IHMubmV4dEludCgpOwoJCQliPSBzLm5leHRJbnQoKTsKCQkJYz0gcy5uZXh0SW50KCk7CgkJCWQ9IHMubmV4dEludCgpOwoJCQlEPWIqYi00KmEqKGMtZCk7CgkJCWlmKEQ+MCkKCQkJewoJCQkJeDE9KC1iLU1hdGguc3FydChEKSkvKDIqYSk7CgkJCQl4Mj0oLWIrTWF0aC5zcXJ0KEQpKS8oMiphKTsKCQkJCVN5c3RlbS5vdXQucHJpbnRsbih4MSsiLCAiK3gyKyI7ICIpOwoJCQl9CgkJCWVsc2UgaWYoRD09MCkKCQkJewoJCQkJeDM9KC1iKS8oMiphKTsKCQkJCVN5c3RlbS5vdXQucHJpbnRsbih4MysiOyAiKTsKCQkJfQoJCQllbHNlIFN5c3RlbS5vdXQucHJpbnRsbigibm8gcm9vdHMiKyI7ICIpOwoJCX0KCX0KfQ==