func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     string a, b;     cin >> a;     cin >> b;     std::reverse(a.begin(), a.end());     if (a == b)       cout <<  YES  << endl;     else       cout <<  NO  << endl;     return 0;   }   