a,b,c,d = map(int,input().split()) calc = (a-c)**2-8*(b-d) if calc < 0: print("No") elif calc == 0: print("Yes") else: print((a+c)/2,(b+d)/2)