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