#include<cstdio>
#include<iostream>
#include<cmath>
using namespace std;
void math(int a,int b,int c);
int a,b,c;
int main()
{
while(cin>>a>>b>>c);
void math(int a,int b,int c);
return 0;
}
void math(int a,int b,int c)
{
int x,y,k;
while(cin>>a>>b>>c);
x=(-b+sqrt( (pow(b,2)-4*a*c) ) )/ (2*a);
y=(-b-sqrt( (pow(b,2)-4*a*c) ) )/ (2*a);
k=(pow(b,2)-4*a*c);
if(k>0)
cout<<"Two different roots x1="<<x;
cout<<"x2="<< y<<endl;
if (k==0)
cout<<"Two same roots x="<<x<<endl;
else
cout<<"No real root"<<endl;
return EXIT_SUCCESS;
}