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