#include <iostream>
#include <math.h>
using namespace std;
int main(void){
int a=0, b=0, c=0,x1=0, x2=0; /*宣告變數*/
cin>>a >>b >>c;
if ((b*b-4*a*c)>0){
x1=(-b+sqrt(b*b-4*a*c))/(2*a);
x2=(-b-sqrt(b*b-4*a*c))/(2*a);
cout<<"Two different roots x1="<<x1<<" , x2="<<x2 <<endl;
}
if ((b*b-4*a*c)==0){
x1=(-b+0)/(2*a);
cout<<"Two same roots x="<<x1 <<endl;
}
if((b*b-4*a*c)<0){
cout<<"No real root";
}
return 0;
}