#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k;
  cin >> n >> k;
  string s;
  cin >> s;
  s = " " + s;
  bool l = true;
  if ((n - k) < (k - 1)) l = false;
  bool pr[5 + n];
  for (int i = 1; i <= n; i++) pr[i] = false;
  int p;
  if (l) {
    p = k;
    while (p > 1) {
      if (!pr[p]) {
        cout << "PRINT " << s[p] << endl;
        pr[p] = true;
      }
      cout << "LEFT" << endl;
      p--;
    }
    while (p < n) {
      if (!pr[p]) {
        cout << "PRINT " << s[p] << endl;
        pr[p] = true;
      }
      cout << "RIGHT" << endl;
      p++;
    }
    cout << "PRINT " << s[n] << endl;
  } else {
    p = k;
    while (p < n) {
      if (!pr[p]) {
        cout << "PRINT " << s[p] << endl;
        pr[p] = true;
      }
      cout << "RIGHT" << endl;
      p++;
    }
    while (p > 1) {
      if (!pr[p]) {
        cout << "PRINT " << s[p] << endl;
        pr[p] = true;
      }
      cout << "LEFT" << endl;
      p--;
    }
    cout << "PRINT " << s[1] << endl;
  }
}
