#include<bits/stdc++.h>
using namespace std;
double a,b,c;
int main()
{
cin>>a>>b>>c;
if(b*b-4*a*c<0||a==0) cout<<"Impossivel calcular"<<endl;
else printf("R1 = %.5lf\nR2 = %.5lf\n",(-b+sqrt(b*b-4*a*c))/(2*a),(-b-sqrt(b*b-4*a*c))/(2*a));
return 0;
}