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