int main()
{
double a,b,c,d;
double x1,x2;
cin>>a>>b>>c;
d = b*b-4*a*c;
if( d<0 )
{
cout<<"error";
}
else if ( d==0 )
{
x1=x2=-b/(2*a);
cout<<x1;
}
else
{
x1=-b/(2*a)+sqrt(4*a*c-b*b)/(2*a);
x2=-b/(2*a)-sqrt(4*a*c-b*b)/(2*a);
cout<<x1<<" "<<x2;
}
return 0;
}