int a,b,c,ans1,ans2;
cin >> a >> b >>c ;
if((b*b)-(4*a*c)>0){
int x = -b;
int y = sqrt((b*b)-(4*a*c));
cout<<"Two different roots x1="<<(x+y)/(2*a)<<" , x2="<<(x-y)/2*a<<endl;
}
else if((b*b)-(4*a*c)==0){
ans1 = (-b/(2*a));
cout<<"Two same roots x="<<ans1<<endl;}
else
cout<<"No real root"<<endl;
return 0;
}