using System;
using System.Collections.Generic;
using System.Linq;
public class Program
{
public static void Main()
List<String> A = new List<String>()
"A",
"BBCC",
"DDE",
"FFGG",
"H",
"X",
"I",
"JKL",
"YZ",
"AA"
};
List<String> B = new List<String>()
"AA",
"BB",
"CCDD",
"E",
"FFG",
"HIJKKL",
"Y",
"Z",
"A"
List<String> C = new List<String>();
//Answer Key to be replace with general case solution
C.Add("BBCCDDE");
C.Add("X");
C.Add("YZ");
foreach(String c in C)
Console.WriteLine(c);
}