open System let read() = let t = Console.ReadLine().Split() |> Array.map (int) in t.[0],t.[1],t.[2] let N,M,X = read() N>=3 |> function | true -> "YES" | _ -> "NO" |> printfn "%s"