#include<cstdio>
#include<cmath>
int main(){
double a=0,b=0,c=0;
double disc=0,x1=0,x2=0,p=0,q=0;
scanf("%lf %lf %lf",&a,&b,&c);
disc=(b*b)-(4*a*c);
if(disc<0||a==0){
printf("Impossivel calcular\n");
}else if(disc==0){
x1=-b/(2*a);
printf("R1 = %.5lf\n",x1);
printf("R2 = %.5lf\n",x1);
}
else{
p=-b/(2*a);
q=sqrt(disc)/(2*a);
x1=p-q;
x2=p+q;
if(x1<x2){
printf("R1 = %.5lf\nR2 = %.5lf\n",x1,x2);
}else{
printf("R1 = %.5lf\nR2 = %.5lf\n",x2,x1);
}
}
return 0;
}