using System; class Program { static void Main() { Console.ReadLine(); var s = ""; var a = "NO"; while ((s = Console.ReadLine()) != null) { if (s.Contains("LOVE")) a = "YES"; } Console.WriteLine(a); } }