import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines sys.setrecursionlimit(10 ** 7) from math import sqrt a, b, c, d = map(float, readline().split()) dd = (a - c) ** 2 - 8 * (b - d) if dd < 0: print('No') elif dd == 0: print('Yes') else: x1 = ((c - a) + sqrt(dd)) / 4 x2 = ((c - a) - sqrt(dd)) / 4 y1 = x1 ** 2 + a * x1 + b y2 = x2 ** 2 + a * x2 + b p = (y1 - y2) / (x1 - x2) q = y1 - p * x1 print(p, q)