#!/usr/bin/env python3 import decimal import math def analyze(a, b, c, d): det = (a - c) * (a - c) - decimal.Decimal(8) * (b - d) if det < 0: return (0, None) elif det == 0: return (1, None) else: sqrt_det = det ** decimal.Decimal(0.5) x_1 = (-b - sqrt_det) / decimal.Decimal(4) x_2 = (-b + sqrt_det) / decimal.Decimal(4) y_1 = x_1 * x_1 + a * x_1 + b y_2 = x_2 * x_2 + a * x_2 + b p = (y_1 - y_2) / (x_1 - x_2) q = y_1 - p * x_1 return (2, (p, q)) def main(): a, b, c, d = (decimal.Decimal(z) for z in input().split()) num, pq = analyze(a, b, c, d) if num == 0: print("No") elif num == 1: print("Yes") else: p, q = pq print("{:.12f} {:.12f}".format(p, q)) if __name__ == '__main__': main()