module Main where

import           Control.Applicative
import           Data.List

main :: IO ()
main = do
    [m, n] <- map read . words <$> getLine
    putStrLn $ solve1 m n

solve1 :: Int -> Int -> String
solve1 m n = if m /= n then "No" else "Yes"
