#include<bits/stdc++.h>
using namespace std;
string a, b;
int main() {
cin >> a;
b = a;
int x = 1;
reverse(a.begin(), a.end());
for (int i = 0; i < a.length(); i++) {
if (b[i] = a[i]) {
continue;
} else {
x = 0;
}
}
if (x = 1) {
cout << "yes";
} else {
cout << "no";
}
return 0;
}