#include <cstdlib>
#include <iostream>
#include <math.h>
using namespace std;
int main(int argc, char *argv[]){
int a,b,c;
float d,e,f;
while(cin >> a >> b >> c){
d = pow(b,2);
f = d-4*a*c;
e = pow(f,0.5);
if(f > 0){
cout << "Two different roots x1=" << (-b+e)/2 << " " << "," << " " << "x2=" << (-b-e)/2 << endl;
} else if(f < 0){
cout << "No real root" << endl;
} else {
cout << "Two same roots x=" << (-b)/2 << endl;
}
}
return EXIT_SUCCESS;
}