#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define N (1000000000+7) //#define N 998244353 #define INF 1e16 typedef long long ll; typedef pair P; const int inf = 1e8; int main() { ll a,b,c; cin>>a>>b>>c; if(b*b-4*a*c<0)cout<<"imaginary"<ans1)swap(ans2,ans1); printf("%.10lf %.10lf\n",(double)ans2,(double)ans1); } }