using System.Collections.Generic;
public static void Main()
var Lines = new List<string> {"John", "and Mary", "and Andy Smith", "Loyal Order", "of Moose", "Cineplex Movie Theater", "Center", "for the Blind"};
var Builder = new StringBuilder();
for (var i = 0; i < Lines.Count; i++)
var keywords = new List<string>{" ", "and", "of", "for", "at", "the"};
if (keywords.Any(x => Lines[i].StartsWith(x + " ") || Lines[i - 1].EndsWith(" " + x)))
Builder.Append(Lines[i]);
Console.WriteLine(Builder.ToString());