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