function main(input){
   var tmp = String(input);
   if(tmp[0] == tmp[2]){
       console.log("Yes");
   }else{
       console.log("No");
   }
}

main(require("fs").readFileSync("/dev/stdin","utf8"));