#include #include #include #include #include #include #include #include #include #include #include #include #include using ll = long long; using namespace std; constexpr int MOD = 1e9 + 7; constexpr ll MOD_LL = ll(1e9) + 7; int main(void) { double a, b, c, d; cin >> a >> b >> c >> d; double u = (a - c) / 2.0; double w = (b - d) / 2.0; double x = u * u - 4.0 * w; if( x < 0.0 ) { cout << "No" << endl; } else if( x == 0.0 ) { cout << "Yes" << endl; } else { cout << "Yes" << endl; double p = (a + c) / 2.0; double q = (b + d) / 2.0; printf("%.12lf %.12lf\n", p, q); } return 0; }