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