import sys input=sys.stdin.readline def I(): return int(input()) def MI(): return map(int, input().split()) def LI(): return list(map(int, input().split())) def main(): mod=10**9+7 a,b,c,d=MI() D= (a-c)**2 - 4*2*(b-d) if D==0: print("Yes") elif D<0: print("No") else: x1=(-(a-c)+D**0.5)/4 x2=(-(a-c)-D**0.5)/4 y1=x1**2 + a*x1 + b y2=x2**2 + a*x2 + b p=(y2-y1)/(x2-x1) q=y1-p*x1 print(p,q) main()