#include <bits/stdc++.h>
using namespace std;
int main() {
string a;
cin>>a;
string b = a;
reverse(b.begin(), b.end());
if(b.compare(b)==0)
cout<<"Yes"<<endl;
else
cout<<"No"<<endl;
return 0;
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKCXN0cmluZyBhOwoJY2luPj5hOwoJc3RyaW5nIGIgPSBhOwoJcmV2ZXJzZShiLmJlZ2luKCksIGIuZW5kKCkpOwoJaWYoYi5jb21wYXJlKGIpPT0wKQoJCWNvdXQ8PCJZZXMiPDxlbmRsOwoJZWxzZQoJCWNvdXQ8PCJObyI8PGVuZGw7CglyZXR1cm4gMDsKfQ==