a, b, c, d = map(int, input().split()) tmp = (a - c) ** 2 - 8 * (b - d) if tmp < 0: print("No") elif tmp == 0: print("Yes") else: tmp **= 0.5 x0 = (c - a + tmp) / 4 x1 = (c - a - tmp) / 4 y0 = x0 * x0 + a * x0 + b y1 = x1 * x1 + a * x1 + b p = (y1 - y0) / (x1 - x0) q = y0 - p * x0 print(p, q)