#include<stdio.h>
#include<math.h>
void main()
{
double C1, C2;
int t,a,b,c;
scanf("%d %d %d",&a,&b,&c);
t=b*b-4*a*c;
if (t>=0)
{
C1=(-b+sqrt(b*b-4.0*a*c))/(2.0*a);
C2=(-b-sqrt(b*b-4.0*a*c))/(2.0*a);
printf("%.2lf %.2lf\n",C1,C2);
}
}
#include<math.h>
void main()
{
double C1, C2;
int t,a,b,c;
scanf("%d %d %d",&a,&b,&c);
t=b*b-4*a*c;
if (t>=0)
{
C1=(-b+sqrt(b*b-4.0*a*c))/(2.0*a);
C2=(-b-sqrt(b*b-4.0*a*c))/(2.0*a);
printf("%.2lf %.2lf\n",C1,C2);
}
}