using System; public class Hello { static long a, b, c, d; static void Main() { string[] line = Console.ReadLine().Trim().Split(' '); a = long.Parse(line[0]); b = long.Parse(line[1]); c = long.Parse(line[2]); d = long.Parse(line[3]); getAns(); } static void getAns() { var D = (a - c) * (a - c) - 8 * (b - d); if (D == 0) { Console.WriteLine("Yes"); return; } else if (D < 0) { Console.WriteLine("No"); return; } Console.WriteLine("{0} {1}", (a + c) / 2d, (b + d) / 2d); } }