13203 - 回文数判断

#include<bits/stdc++.h>
using namespace std;
int main(){
	int n,num1,num=0;
	cin>>n;
	num1=n;
	while(n){
		num=num*10+n%10;
		n/=10;
	}
	if(num1==num) cout<<"Yes";
	else cout<<"No";
	return 0;
}