#include
#include
using namespace std;
int main()
{
int a,b,c;
float dis,root1,root2;
cin >>a>>b>>c;
dis=bb-4a*c;
if(dis>0)
{
cout<<“Real and distinct”<<endl;
root1 = (-b - sqrt(dis)) / (2 * a);
root2 = (-b + sqrt(dis)) / (2 * a);
cout<<root1<<" "<<root2;
}
else if (dis=0)
{
cout<<"real and equal"<<endl;
root1 = (-b + sqrt(dis)) / (2*a);
cout << "root1 = root2 =" << root1 << endl;
}
else
{
cout<<"imaginary";
}
return 0;
}