using System;
public class Program
{
public static void Main()
var num = int.Parse(Console.ReadLine());
var even = 0;
var odd = 0;
for (int i = 0; i < num; i++)
int n = int.Parse(Console.ReadLine());
if (i % 2 == 0)
even += n;
}
else
odd += n;
if (even == odd)
Console.WriteLine("Yes, Sum = {0}", odd);
Console.WriteLine("No, Diff = {0}", Math.Abs(odd - even));