using System; using static System.Console; using System.Linq; using System.Collections.Generic; using System.Globalization; class Program { static int NN => int.Parse(ReadLine()); static int[] NList => ReadLine().Split().Select(int.Parse).ToArray(); static int[][] NArr(long n) => Enumerable.Repeat(0, (int)n).Select(_ => NList).ToArray(); static int[] NMi => ReadLine().Split().Select(c => int.Parse(c) - 1).ToArray(); static int[][] NMap(int n) => Enumerable.Repeat(0, n).Select(_ => NMi).ToArray(); static string[] SList(long n) => Enumerable.Repeat(0, (int)n).Select(_ => ReadLine()).ToArray(); static long[] LList(long n) => Enumerable.Repeat(0, (int)n).Select(_ => long.Parse(ReadLine())).ToArray(); public static void Main() { Solve(); } static void Solve() { var c = NList; var b2 = c[2] - c[0]; var root = ((long)c[0] - c[2]) * (c[0] - c[2]) - 8L * (c[1] - c[3]); if (root < 0) { WriteLine("No"); } else if (root == 0) { WriteLine("Yes"); } else { var px = (b2 + Math.Sqrt(root)) / 4; var mx = (b2 - Math.Sqrt(root)) / 4; var py = px * px + c[0] * px + c[1]; var my = mx * mx + c[0] * mx + c[1]; var s = (double)(py - my) / (px - mx); WriteLine($"{s:0.0000000} {my - s * mx:0.0000000}"); } } }