>>174
#include <stdio.h>
#include <math.h>

int main( void )
{
double a,b,c,sol;
scanf( "%lf %lf %lf", &a, &b, &c );
sol = b*b-4.0*a*c;
if( sol > 0.0 ) {
sol = sqrt( sol );
printf( "%lf %lf\n", (-b + sol)/2.0/a, (-b - sol)/2.0/a );
}
else if ( sol == 0.0 ) {
printf( "%lf\n", -b/2.0/a );
}
else
printf( "実根はない\n" );
return 0;
}