#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k;
  string a;
  cin >> n >> k;
  cin >> a;
  k--;
  vector<bool> x(n, false);
  while (x[n - 1] == false || x[0] == false) {
    if (x[k] == false) {
      cout << "PRINT " << a[k] << endl;
      x[k] = true;
    } else {
      bool z = true;
      if (k != n - 1)
        if (x[k + 1] == true) z = false;
      if ((n - k - 1 <= k && k != n - 1 && z) || x[0] == true) {
        k++;
        cout << "RIGHT" << endl;
      } else {
        bool z = true;
        if (k != 0)
          if (x[k - 1] == true) z = false;
        if ((n - k - 1 > k && k != 0 && z) || x[n - 1] == true) {
          k--;
          cout << "LEFT" << endl;
        }
      }
    }
  }
  return 0;
}
