func_code_string: #include <bits/stdc++.h>   using namespace std;   string removeZero(string s) {     int i = 0, m = 0, j = s.size() - 1;     if (s[i] ==  0 ) {       while (s[i] ==  0 ) {         i++;       }     }     s.erase(0, i);     if (s[j] ==  0 ) {       while (s[j] ==  0 ) {         m++;         j--;       }     }     s.erase(j + 1, s.size() - j);     return s;   }   int main() {     string s;     cin >> s;     s = removeZero(s);     int x = 0, o = s.size() - 1, flag = 0;     while (x <= s.size() - 1) {       if (s[x] != s[o]) {         flag = 1;         cout <<  NO ;         break;       }       x++;       o--;     }     if (flag == 0) cout <<  YES ;     return 0;   }   