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