#include using namespace std; using ll = long long int; using lc = complex; int main(void) { constexpr ll MOD = 1e9 + 7; constexpr double PI = acos(-1); cout << fixed << setprecision(32); cin.tie(0); ios::sync_with_stdio(false); ll a, b, c, d; cin >> a >> b >> c >> d; ll D = (a-c)*(a-c) - 4 * 2 * (b - d); if(D == 0) cout << "Yes" << endl; else if (D < 0) cout << "No" << endl; else cout << (a+c)*0.5 << ' ' << (b+d)*0.5 << endl; }