const Main = (input) => {
	var xs = input.trim().split('').map(v=>parseInt(v,10));
    if(xs[0] == xs[2]){
    console.log("Yes");
    }else{
    console.log("No"); 
    }  
}
Main(require("fs").readFileSync("/dev/stdin","utf8"));