#include <bits/stdc++.h>   using namespace std;   inline void PAUSE() {     char tmp;     cin >> tmp;   }   char s[102];   int main() {     int n, k;     int f = 0;     scanf( %d %d , &n, &k);     if (n == k) f = 1;     cin >> s;     if (n >= 2 * k)       for (int i = k - 1; i >= 1; i--) {         cout <<  LEFT  << endl;       }     else       for (int i = k + 1; i <= n; i++) {         cout <<  RIGHT  << endl;         f = 1;       }     if (f == 0)       for (int i = 1; i <= n; i++) {         cout <<  PRINT   << s[i - 1] << endl;         if (i != n) cout <<  RIGHT  << endl;       }     else       for (int i = n; i >= 1; i--) {         cout <<  PRINT   << s[i - 1] << endl;         if (i != 1) cout <<  LEFT  << endl;       }     PAUSE();     return 0;   }   