let ``No.700 LOVE``() = let n, m = stdin.ReadLine().Split(' ') |> Array.map (int) |> fun args -> args.[0], args.[1] let rec loop = function | 0 -> if stdin.ReadLine().Contains("LOVE") then "YES" else "NO" | n -> if stdin.ReadLine().Contains("LOVE") then "YES" else loop (n-1) if m < 4 then "NO" else loop n |> stdout.WriteLine () ``No.700 LOVE``()