#include #include #include #include #include #include #include #include #include #include using namespace std; struct aaa{aaa(){cin.tie(nullptr); ios::sync_with_stdio(false); cout<ostream &operator<<(ostream &o,const vector&v){o<<"{";for(int i=0;i<(int)v.size();i++)o<<(i>0?", ":"")<> a >> b >> c; if (b*b < 4*a*c) { cout << "imaginary" << endl; } else { set s; s.insert((-b+sqrt(b*b-4*a*c))/2/a); s.insert((-b-sqrt(b*b-4*a*c))/2/a); for (auto ans : s) { cout << ans << " "; } } }