#include using namespace std; int main(){ cout << fixed << setprecision(7); long long a, b, c, d; cin >> a >> b >> c >> d; long long D = (a - c) * (a - c) - 4 * 2 * (b - d); if (D < 0){ cout << "No" << endl; } else if (D == 0){ cout << "Yes" << endl; } else { cout << (double) (a - c) / 2 << ' ' << (double) (b - d) / 2 << endl; } }