#pragma GCC target("avx2") #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") #include // #include using namespace std; // using namespace atcoder; #define rep(i,m,n,k) for (int i = (int)(m); i < (int)(n); i += (int)(k)) #define rrep(i,m,n,k) for (int i = (int)(m); i > (int)(n); i += (int)(k)) #define ll long long #define list(T,A,N) vector A(N);for(int i=0;i<(int)(N);i++){cin >> A[i];} #define all(X) X.begin(),X.end() template inline bool chmin(T& a, T b){if(a > b){a = b; return true;} return false;} template inline bool chmax(T& a, T b){if(a < b){a = b; return true;} return false;} template map Counter(vector X){map C;for(auto x:X){C[x]++;}; return C;} constexpr ll INF = (1LL<<60); int main(){ ios::sync_with_stdio(false); std::cin.tie(nullptr); ll a,b,c,d; cin >> a >> b >> c >> d; ll D = (a-c)*(a-c) - 8*(b-d); if(D<0){ cout << "No" << endl; return 0; } if(D==0){ cout << "Yes" << endl; return 0; } long double p = (long double)(a + c)/2; long double q = (long double)(b + d)/2; cout << fixed << setprecision(10); cout << p << ' ' << q << endl; return 0; }