#include <iostream>
#include <cmath>
using namespace std;
int main(){
float a,b,c;
cin >> a >> b >> c;
float delta = b*b - 4*a*c;
if(delta>0){
cout << "\nx1 = " << (-b+sqrt(delta))/(2*a);
cout << "\nx2 = " << (-b-sqrt(delta))/(2*a);
}
else if(delta==0){
cout << "\nx = " << (-b)/(2*a);
}
else cout << "\nEcuatia nu are solutii reale.";
}