string first = Console.ReadLine();
string[] splitted = first.Split(' ');
int[] Arr = new int[splitted.Length];
for (int i = 0; i < splitted.Length; i++)
Arr[i] = int.Parse(splitted[i]);
int[] novArr = new int[(Arr.Length / 2)];
for (int i = 0; i < Arr.Length; i += 2)
novArr[sum] = Arr[i] + Arr[i + 1];
for (int i = 0; i < novArr.Length - 1; i++)
if (novArr[i] == novArr[i + 1])
value = novArr[i] - novArr[i + 1];
if (counter == novArr.Length - 1)
Console.WriteLine("Yes,value= {0}", novArr[0]);
Console.WriteLine("No,maxdiff= {0}", Math.Abs(value));