#include using namespace std; int main() { int64_t a, b, c, d; cin >> a >> b >> c >> d; int64_t det = (a - c) * (a - c) - 8 * (b - d); if (det < 0) { cout << "No" << endl; } else if (det == 0) { cout << "Yes" << endl; } else { cout << 0.5 * (a + c) << " " << 0.5 * (b + d) << endl; } }