#include <bits/stdc++.h>using namespace std;int main(){ ios_base::sync_with_stdio(0); cin.tie(0); string s; cin >> s; string t = s; reverse(s.begin(), s.end()); if(s == t) cout << "yes\n"; else cout << "no\n";}