func_code_string: #include <bits/stdc++.h>   const int INF = 1000000009;   using namespace std;   int main() {     int n, i, l = 0, r = 0;     string s;     cin >> n >> s;     s =  .  + s;     for (i = 1; i < s.size(); i++)       if (s[i] ==  L )         l = 1;       else if (s[i] ==  R )         r = 1;     if (r && l)       cout << s.find( R ) <<     << s.find( L ) - 1 <<   n ;     else if (r && !l)       cout << s.find( R ) <<     << s.rfind( R ) + 1 <<   n ;     else       cout << s.rfind( L ) <<     << s.find( L ) - 1 <<   n ;     return 0;   }   