function Main(input) {
    var input = input.split('');
    if(input[0] === input[2]) {
        console.log('Yes');
    } else {
        console.log('No');
    }
    

    }
Main(require('fs').readFileSync('/dev/stdin', 'utf8'));