#include using namespace std; using Int = long long; const char newl = '\n'; template inline void chmin(T1 &a,T2 b){if(a>b) a=b;} template inline void chmax(T1 &a,T2 b){if(a void drop(const T &x){cout< vector read(size_t n){ vector ts(n); for(size_t i=0;i>ts[i]; return ts; } struct Precision{ Precision(){ cout<>a>>b>>c; if(a<0){a=-a;b=-b;c=-c;} if(b*b<4*a*c) drop("imaginary"); if(b*b==4*a*c) drop(-b/(2*a)); D d=sqrt(b*b-4*a*c); cout<<(-b-d)/(2*a)<<' '<<(-b+d)/(2*a)<