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