#include<stdio.h>
#include<math.h>
int main()
{
double a, b, c, x;
scanf("%lf%lf%lf",&a, &b, &c);
x = b * b - 4 * a * c;
if(a == 0 || x < 0)
{
printf("Impossivel calcular");
}
else
{
printf("R1 = %.5lf\n", (-1 * b + sqrt(x)) /( 2 * a));
printf("R2 = %.5lf\n", (-1 * b - sqrt(x)) /( 2 * a));
}
return 0;
}