#include using namespace std; #ifdef LOCAL #include "debug.h" #else #define DEBUG(...) #endif int main() { cin.tie(nullptr); ios::sync_with_stdio(false); cout << fixed << setprecision(20); double a, b, c, d; cin >> a >> b >> c >> d; double dd = (a - c) * (a - c) - 8 * (b - d); if (dd < -1e-10) { cout << "No\n"; } else if (dd < 1e-10) { cout << "Yes\n"; } else { cout << (a + c) / 2 << ' ' << (b + d) / 2 << '\n'; } }