#include using namespace std; using ll = long long; #define rep(i, s, e) for (int i = (int)s; i < (int)e; ++i) #define all(a) (a).begin(), (a).end() int main() { cin.tie(nullptr); ll a, b, c, d; cin >> a >> b >> c >> d; ll D = (a - c)*(a - c) - 8 * (b - d); if (D < 0) cout << "No\n"; else if (D == 0) cout << "Yes\n"; else { cout << fixed << setprecision(15); double p = ((double)a + (double)c) / 2; double q = ((double)b + (double)d) / 2; cout << p << ' ' << q << '\n'; } }