using System.Collections;
using System.Collections.Generic;
using System.Data.DataSetExtensions;
using System.Text.RegularExpressions;
using System.Xml.Serialization;
using System.Globalization;
using System.Diagnostics;
public static void Main()
var numbers = new [] {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9' };
List<string> list = new List<string>()
var c = (a + "-" + b).Split('-').Select(s => int.Parse(s.Substring(0, s.LastIndexOfAny(numbers) + 1))).ToArray();
return c[0] != c[2] ? c[0] - c[2] : c[1] - c[3];