a, b, c, d = map(int, input().split()) A, B, C = 2, a - c, b - d D = B ** 2 - 4 * A * C if D < 0: print('No') elif D == 0: print('Yes') else: x1 = (-B + D ** .5) / 4 x2 = (-B - D ** .5) / 4 y1 = x1 ** 2 + a * x1 + b y2 = x2 ** 2 + a * x2 + b m = (y2 - y1) / (x2 - x1) print(m, y1 - m * x1)