using System.Collections.Generic;
public static void Main()
Dictionary<string, string> offSpringBreedPurity = new Dictionary<string, string>();
Dictionary<string, string> SireBreedPurity = new Dictionary<string, string>();
Dictionary<string, string> DamBreedPurity = new Dictionary<string, string>();
SireBreedPurity.Add("SN","50");
SireBreedPurity.Add("LM","50");
offSpringBreedPurity = SireBreedPurity.Concat(DamBreedPurity)
x.Average(y => Convert.ToInt64(y.Value))
: Convert.ToInt64(x.Last().Value)/2
Console.WriteLine(offSpringBreedPurity["SN"]);
Console.WriteLine(offSpringBreedPurity["LM"]);