# coding: utf-8 # Your code here! import sys readline = sys.stdin.readline read = sys.stdin.read a,b,c,d = map(int,read().split()) """ y = x^2 + ax + b 0 = (a+c)x + (b+d) 2x^2 + (a-c)x + (b-d) = 0 """ D = (a-c)**2 - 8*(b-d) if D < 0: print("No") elif D==0: print("Yes") else: print((a+c)/2,(b+d)/2)