#include #define REP(i, n) for(int i = 0; (i) < (n); (i)++) using namespace std; int main() { int a, b, c, d; cin >> a >> b >> c >> d; int D = (a-c)*(a-c) - 8 * (b-d); if(D<0) cout << "No" << endl; else if(D==0) cout << "Yes" << endl; else{ cout << fixed; cout << setprecision(8) << (double)(a+c)/2.0 << " " << (double)(b+d)/2.0 << endl; } return 0; }