//Thomas Meeks
#include <bits/stdc++.h>
#include <cmath>
//Thomas Meeks

//Adaption of quadratic calculator by arup
//This solution will take in the doubles a,b,c by value and also take in by reference a pair which
//it will modify to contain the roots if they exist.
//it also returns a boolean stating if the real roots exist

//a pair stores 2 values which you can access with .first and .second
using namespace std;
bool calculate(double a, double b, double c, pair<double,double> &res){
    //disc determines if we have real roots
    double disc = b*b - 4*a*c;
    if(disc < 0) return false;

    //fill result pair with data.
    res.first = (-b-sqrt(disc))/(2*a);
    res.second = (-b+sqrt(disc))/(2*a);
    return true;
}


int main(){
    double a,b,c;
    cin >> a >> b >> c;
    //make empty data so we can fill it with solution.
    pair<double,double> data;
    //Call function
    bool realRoots = calculate(a,b,c,data);
    //use boolean result to determine what to do.
    if(realRoots){
        cout << data.first << " " << data.second;
    }else{
        cout << "No real roots!";
    }

    return 0;
}
