//求一元二次平方根
#include<stdio.h>
#include<math.h>
int main() {
double a, b, c;
scanf_s("%lf%lf%lf", &a, &b, &c);
double p = (-b) / 2.0 * a;
double q = (sqrt(b * b - 4 * a * c)) / 2 * a;
double x1 = p + q;
double x2 = p - q;
if(b*b-4*a*c>=0){
printf("x1=%7.2f\nx2=%7.2f\n", x1, x2);
}
else {
printf("不存在实根\n");
}
return 0;
}