#include <iostream>
#include <math.h>
using namespace std;
int main()
{
int x2,x1,x0;
cin>>x2>>x1>>x0;
int D=x1*x1-x2*x0*4;
int Ans1=(-x1+sqrt(D))/x2/2;
if(D>0)cout<<"Two different roots x1="<<Ans1<<" , x2="<<Ans1-sqrt(D)/x2;
else if(D==0)cout<<"Two same roots x="<<Ans1;
else cout<<"No real root";
return 0;
}