fun main() { readLine() var s = readLine() var k = "NO" while (s != null) { if ("LOVE" in s) { k = "YES" break } s = readLine() } println(k) }