/** * @FileName b.cpp * @Author kanpurin * @Created 2020.05.29 22:33:54 **/ #include "bits/stdc++.h" using namespace std; typedef long long ll; ll a,b,c,d; double f(double x) { return x*x+a*x+b; } int main() { cin >> a >> b >> c >> d; ll D = (a-c)*(a-c) - 8*(b-d); if (D == 0) { puts("Yes"); } else if (D < 0) { puts("No"); } else { double x1,x2; x1 = (double(-(a-c))+sqrt(D))/4; x2 = (double(-(a-c))-sqrt(D))/4; double p = (f(x1)-f(x2))/(x1-x2); double q = -p*x1+f(x1); printf("%.10f %.10f\n",p,q); } return 0; }