#include #define rep(i,n) for(int i=0;i<(int)(n);i++) using namespace std; using ll = long long ; using P = pair ; using pll = pair; constexpr int INF = 1e9; constexpr long long LINF = 1e17; constexpr int MOD = 1000000007; int main(){ 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; else if(D ==0) cout << "Yes" << endl; else cout << setprecision(20) << (a+c)/2.0 << " "<< (b+d)/2.0 << endl; return 0; }