#include #define rep(i,n) for(int i = 0; i < (int)(n); i++) #define rrep(ri,n) for(int ri = (int)(n-1); ri >= 0; ri--) #define rep2(i,x,n) for(int i = (int)(x); i < (int)(n); i++) #define repit(itr,x) for(auto itr = x.begin(); itr != x.end(); itr++) #define rrepit(ritr,x) for(auto ritr = x.rbegin(); ritr != x.rend(); ritr++) #define ALL(x) x.begin(), x.end() using ll = long long; using namespace std; int main(){ long double a, b, c, d; cin >> a >> b >> c >> d; if(d - b < 0){ cout << "No" << endl; return 0; }else if(d - b == 0){ cout << "Yes" << endl; return 0; } long double r = (c-a) * (c-a) + 8*(d-b); long double xa = ((c - a) + sqrt(static_cast(r)))/4; long double xb = ((c - a) - sqrt(static_cast(r)))/4; long double ya = xa*xa + a*xa + b; long double yb = xb*xb + a*xb + b; long double p = (yb-ya)/(xb-xa); long double q = -p * xa + ya; cout << fixed << setprecision(15) << p << " " << q << endl; return 0; }