#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; int main() { long double a, b, c; cin >> a >> b >> c; long double f = 4, z = 0, t = 2; if (b * b - f * a * c < z) { cout << "imaginary" << endl; } else { long double x = (-b + sqrtl(b * b - f * a * c)) / t * a; long double y = (-b - sqrtl(b * b - f * a * c)) / t * a; if (x == y) { cout << fixed << setprecision(16) << x << endl; } else { cout << fixed << setprecision(16) << x << " " << y << endl; } } return 0; }