func_code_string: #include <bits/stdc++.h>   using namespace std;   const int MOD = 1e9 + 7;   void solve() {     string s1;     string s2;     cin >> s1 >> s2;     string ans =   ;     for (int i = s2.length() - 1; i >= 0; --i) {       ans += s2[i];     }     if (s1 == ans) {       cout <<  YES             <<   n ;     } else {       cout <<  NO             <<   n ;     }   }   int main() {     ios::sync_with_stdio(false);     cin.tie(nullptr);     int t = 1;     while (t--) {       solve();     }   }   