#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); long long a, b, c, d; cin >> a >> b >> c >> d; long long A = 2, B = a - c, C = b - d; if (B * B - 4 * A * C < 0) { cout << "No" << '\n'; return 0; } if (B * B - 4 * A * C == 0) { cout << "Yes" << '\n'; return 0; } cout << fixed << setprecision(17) << 1.0 * (a + c) / 2 << " " << 1.0 * (b + d) / 2 << '\n'; return 0; }