#include using namespace std; int main() { long long int a,b,c,d; cin >> a >> b >> c >> d; long long int D=(a-c)*(a-c)-8LL*(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; } }