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