public static IList<string> Answer(IList<string> inputs)
        {
            var builder = new SuffixTree.Builder(inputs);
            var suffixTree = builder.ToSuffixTree();

            var answers = suffixTree.ToText().ToArray();
            return answers;
        }
        //public static void Main(string[] args)
        //{
        //    string s;
        //    var inputs = new List<string>();
        //    while ((s = Console.ReadLine()) != null)
        //        inputs.Add(s);

        //    foreach (var result in Answer(inputs.ToArray()))
        //        Console.WriteLine(result);
        //}

        public static IList <string> Answer(IList <string> inputs)
        {
            var builder    = new SuffixTree.Builder(inputs);
            var one        = builder.NextAsString();
            var two        = builder.NextAsString();
            var text       = string.Format("{0}#{1}$", one, two);
            var suffixTree = builder.ToSuffixTree(text);
            var shortest   = Shortest(suffixTree);

            var answers = new [] { shortest };

            return(answers);
        }