func_code_string: #include <bits/stdc++.h>   using namespace std;   const int MX = 25;   int main(int argc, char *argv[]) {     ios ::sync_with_stdio(false);     cin.tie(NULL);     int n, k;     string s;     cin >> n >> k;     cin >> s;     if (k > (n + 1) / 2) {       --k;       while (k < n - 1) {         cout <<  RIGHT  <<   n ;         ++k;       }       while (k > -1) {         cout <<  PRINT   << s[k] <<   n ;         if (k - 1 >= 0) cout <<  LEFT  <<   n ;         --k;       }     } else {       --k;       while (k > 0) {         cout <<  LEFT  <<   n ;         --k;       }       while (k < n) {         cout <<  PRINT   << s[k] <<   n ;         if (k + 1 < n) cout <<  RIGHT  <<   n ;         ++k;       }     }     return 0;   }   