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