using namespace std;
#include
#include
int main()
{
float d,a,b,c;
cin>>a>>b>>c;
d=b*b-4*a*c;
if(d>0)
{float x2=(-b-sqrt(d))/(2*a);
float x1=(-b+sqrt(d))/(2*a);
cout<<“real and distinct”<<endl;
cout<<x2<<" "<<x1<<endl;
}
else if(d=0)
{
cout<<"equal"<<endl;
cout<<-b/2*a<<" "<<-b/2*a<<endl;
}
else
{
cout<<"imajinary roots"<<endl;
}
}