#include<stdio.h>
#include<math.h>
int main(){
    float a,b,c,q;
    float p;
    scanf("%d%d%d",&a,&b,&c);
    q=sqrt(b*b-4*a*c);
    p=-b+-(q)/2*a;
    printf("%.2f",p);
}

// #include<stdio.h>
// int main(){
//     int a,b;
// }