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

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