function Main(input){
	var n = input;
	var a = Math.floor(n / 100);
	var b = n % 10; 
	if(a == b){
		console.log("Yes");
	}else{
		console.log("No");
	}	
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));