#include using namespace std; using ll = long long; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); ll a, b, c, d; cin >> a >> b >> c >> d; string res; ll x0 = (a - c) * (a - c) - 8 * (b - d); if (x0 == 0) cout << "Yes\n"; else if (x0 < 0) cout << "No\n"; else { double p = (a + c) / 2.0; double q = (b + d) / 2.0; cout << fixed << setprecision(10) << p << " " << q << "\n"; } return 0; }