module Main where
--    import Lib
    import Data.List
    
    main = do
        input <- getLine
        if input !! 0 == (input !! 2) then
            putStrLn "Yes"
        else 
            putStrLn "No"
        
    
