#include using namespace std; double EPS = 0.00000001; int main(){ cout << fixed << setprecision(20); int a, b, c; cin >> a >> b >> c; int D = b * b - 4 * a * c; if (D < 0){ cout << "imaginary" << endl; } else if (D == 0){ cout << - b / (2 * (double) a) << endl; } else { double A = - b / (2 * (double) a); double B = sqrt(D) / (2 * a); cout << A - B << ' ' << A + B << endl; } }