main = (\x -> (\y -> putStrLn $ if x < y then "NO" else "YES" ) =<< getLine) =<< getLine