#include <bits/stdc++.h>
using namespace std;
double a,b,c,d,x1,x2;
int main()
{
    cin>>a>>b>>c;
    if(a==0){
        if(b==0){
            if(c==0) cout<<"vo so nghiem";
            else cout<<"vo nghiem";
        }
        else cout<<-c/b;
    }
    else{
        d=b*b-4*a*c;
        if(d<0) cout<<"vo nghiem";
        else if(d==0) cout<<-b/(2*a);
        else{
            x1=(-b+sqrt(d))/(2*a);
            x2=(-b-sqrt(d))/(2*a);
            cout<<x1<<" "<<x2;
        }
    }
    return 0;
}