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