from math import sqrt def f(x): return x ** 2 + a * x + b a, b, c, d = map(int, input().split()) tmp = (a - c) ** 2 - 8 * (b - d) if tmp > 0: x1 = (c - a) + sqrt(tmp) x1 /= 4 x2 = (c - a) - sqrt(tmp) x2 /= 4 y1 = f(x1) y2 = f(x2) p = (y1 - y2) / (x1 - x2) q = y1 - p * x1 print(p, q) elif tmp == 0: print("Yes") else: print("No")