func_code_string: #include <bits/stdc++.h>   using namespace std;   int n, k;   string s;   int main() {     cin >> n >> k >> s;     --k;     if (k < n - 1 - k) {       while (k) {         cout <<  LEFT  << endl;         --k;       }       for (int i = 0; i < n; ++i) {         if (i) cout <<  RIGHT  << endl;         cout <<  PRINT   << s[i] << endl;       }     } else {       while (k < n - 1) {         cout <<  RIGHT  << endl;         ++k;       }       for (int i = 0; i < n; ++i) {         if (i) cout <<  LEFT  << endl;         cout <<  PRINT   << s[n - 1 - i] << endl;       }     }     return 0;   }   