import strutils, sequtils let n = stdin.readLine.split.map parseInt for i in 0 ..< n[0]: let s = stdin.readLine if "LOVE" in s: echo "YES" quit() echo "NO"