import qualified Data.ByteString.Char8 as BS
import Data.Maybe
import Control.Monad

readInt = fst . fromJust . BS.readInt
readIntList = map readInt . BS.words
getIntList = readIntList <$> BS.getLine

main :: IO ()
main = do
    [n, m] <- getIntList
    print $ if n == m then "Yes" else "No"
