func_code_string: #include <bits/stdc++.h>   using namespace std;   static const int INF = 500000000;   template <class T>   void debug(T a, T b) {     for (; a != b; ++a) cerr << *a <<    ;     cerr << endl;   }   template <class T>   void chmin(T& a, const T& b) {     if (a > b) a = b;   }   template <class T>   void chmax(T& a, const T& b) {     if (a < b) a = b;   }   string s, t;   bool check() {     cin >> s;     t = s;     reverse((t).begin(), (t).end());     if (t != s) return false;     for (int i = 0; i < (s.size()); ++i) {       if (s[i] ==  A  || s[i] ==  H  || s[i] ==  I  || s[i] ==  M  ||           s[i] ==  O  || s[i] ==  T  || s[i] ==  U  || s[i] ==  V  ||           s[i] ==  W  || s[i] ==  X  || s[i] ==  Y )         ;       else         return false;     }     return true;   }   int main() {     if (check())       puts( YES );     else       puts( NO );     return 0;   }   