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