#include using namespace std; int main() { long long int a,b,c,d; cin >> a >> b >> c >> d; int D=(a-c)*(a-c)-8*(b-d); if(D<0){ cout << "No" << endl; } if(D==0){ cout << "Yes" << endl; } if(D>0){ cout << (a+c)/2.0 << " " << (b+d)/2.0 << endl; } }