#include "stdio.h"
#include<math.h>
int main(){
int a,b,c;
double x,y,p,r;
scanf("%d%d%d",&a,&b,&c);
p=b*b-4*a*c;
r=sqrt(p);
x=(-b+r)/(2*a);
y=(-b-r)/(2*a);
printf("x1=%.4f,x2=%.4f\n",x,y);
}
#include "stdio.h"
#include<math.h>
int main(){
int a,b,c;
double x,y,p,r;
scanf("%d%d%d",&a,&b,&c);
p=b*b-4*a*c;
r=sqrt(p);
x=(-b+r)/(2*a);
y=(-b-r)/(2*a);
printf("x1=%.4f,x2=%.4f\n",x,y);
}