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