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