func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     ios_base::sync_with_stdio(false);     cin.tie(0);     cout.tie(0);     string s;     cin >> s;     int ans = 0;     int n = s.length();     for (int i = 0; i < n; i++) {       if (s[i] != s[n - i - 1]) {         ans = -1;         break;       }     }     if (ans != -1)       cout << 0 << endl;     else {       cout << 3 << endl;       cout <<  R   << 2 << endl;       cout <<  L   << s.length() << endl;       cout <<  L   << s.length() - 1 << endl;     }   }   