#include using namespace std; template inline bool chmax(T &a, T b) { if(a < b) { a = b; return 1; } return 0; } template inline bool chmin(T &a, T b) { if(a > b) { a = b; return 1; } return 0; } void print() { cout << "\n"; } template void print(const T &x) { cout << x << "\n"; } template void print(const T &x, const Args &... args) { cout << x << " "; print(args...); } template void printVector(const vector &v) { for(const T &x : v) { cout << x << " "; } cout << "\n"; } using ll = long long; #define ALL(v) (v).begin(), (v).end() #define RALL(v) (v).rbegin(), (v).rend() const double EPS = 1e-7; const int INF = 1 << 30; const ll LLINF = 1LL << 60; const double PI = acos(-1); constexpr int MOD = 1000000007; const int dx[4] = {1, 0, -1, 0}; const int dy[4] = {0, 1, 0, -1}; //------------------------------------- using ld = long double; int main() { cin.tie(0); ios::sync_with_stdio(false); cout << fixed << setprecision(15); ll a, b, c, d; cin >> a >> b >> c >> d; ll D = (a - c) * (a - c) - 8 * (b - d); if(D < 0) { print("No"); } else if(D == 0) { print("Yes"); } else { print((ld)(a + c) / 2, (ld)(b + d) / 2); } }