open System
let R T = stdin.ReadLine()|> T
let RS T = stdin.ReadLine().Split()|>Array.map T
let Mod = (1e9|>int64)+7L
[<EntryPoint>]
let main argv =
    RS int
    |>fun c -> if (c.[0]=c.[1]) then "Yes" else "No"
    |>stdout.WriteLine
    0
