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