#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)
{
printf("Impossivel calcular");
}
else printf("R1 = %.5lf\nR2 = %.5lf",(-b+sqrt(b*b-4*a*c))/(2*a),(-b-sqrt(b*b-4*a*c))/(2*a));
return 0;
}