#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(){ int ia, ib, ic, id; double a, b, c, d; cin >> ia >> ib >> ic >> id; a = ia; b = ib; c = ic; d = id; int D = (c-a)*(c-a) + 8*(d-b); if(D < 0){ cout << "No" << endl; return 0; }else if(D == 0){ cout << "Yes" << endl; return 0; } double p = (a+c)/2; double q = (b+d)/2; printf("%.8f %.8f\n", p, q); // cout << fixed << setprecision(15) << p << " " << q << endl; return 0; }