#include <iostream>
#include <cmath>
using namespace std;
double a, b, c;
int main() {
cin >> a >> b >> c;
double d = b * b - 4 * a * c;
if (d < 0 || a == 0) {
cout << "Impossivel calcular" << endl;
} else if(d > 0) {
cout.flags(ios::fixed);
cout.precision(5);
cout << "R1 = " << (0 - b + sqrt(d)) / (2 * a) << endl;
cout << "R2 = " << (0 - b - sqrt(d)) / (2 * a) << endl;
}
return 0;
}