main = do
    input <- getLine
    let inputWords = words input
        n :: Int
        n = read $ inputWords !! 0
    let m = n `div` 100
    let l = n `mod` 10
    if m == l 
        then
            putStrLn  "Yes"
        else
            putStrLn  "No"