import sys from math import sqrt input = sys.stdin.readline def main(): a, b, c, d = map(int,input().split()) if (a-c)**2 - 8*(b-d) < 0: print("No") elif (a-c)**2 - 8*(b-d) == 0: print("Yes") else: print((a+c)/2,(b+d)/2) if __name__ == '__main__': main()