#define _USE_MATH_DEFINES #include using namespace std; //template #define rep(i,a,b) for(int i=(int)(a);i<(int)(b);i++) #define ALL(v) (v).begin(),(v).end() typedef long long int ll; const int inf = 0x3fffffff; const ll INF = 0x1fffffffffffffff; const double eps=1e-12; templateinline bool chmax(T& a,T b){if(ainline bool chmin(T& a,T b){if(a>b){a=b;return 1;}return 0;} //end int main(){ ll a,b,c,d; cin>>a>>b>>c>>d; ll g=(a-c)*(a-c)-8*(b-d); if(g<0)puts("No"); else if(g==0)puts("Yes"); else{ double x=(a+c)/2.0,y=(b+d)/2.0; printf("%.12f %.12f\n",x,y); } return 0; }