#include <iostream>
#include <cmath>
using namespace std;
int main() {
float a,b,c,d;
while(cin>>a>>b>>c){
d=b*b-4*a*c;
if (d>0) {
cout << "Two different roots"<<" x1="<<(-b+sqrt(d))/(2*a)<<" , x2="<<(-b+sqrt(d)) / (2*a)<< endl;
}
else if (d== 0) {
cout << "Two same roots x=0"<< endl;
}
else {
cout <<"No real root"<< endl;
}
}
return 0;
}