a,b,c,d = map(int,input().split()) D = (a-c)**2-8*(b-d) if D<0: print("No") elif D==0: print("Yes") else: def f(x): return x**2+a*x+b x1 = (c-a-D**0.5)/4 x2 = (c-a+D**0.5)/4 p = (f(x2)-f(x1))/(x2-x1) q = (x2*f(x1)-x1*f(x2))/(x2-x1) print(p,q)