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