open System

#nowarn "25"

let readLine _ = Console.In.ReadLine()
let readInt<'a> = readLine >> int
let readLong<'a> = readLine >> int64
let readFloat<'a> = readLine >> float
let readArray _ = readLine().Split ' '
let readIntArray _ = readArray() |> Array.map (int)

[<EntryPoint>]
let main _ =
    let [|n; m|] = readIntArray()
    (if n = m then "Yes" else "No") |> printfn "%s"
    0 // return an integer exit code
