#include <bits/stdc++.h>
using namespace std;
vector<int> a;
int main(void) {
  int n, k;
  cin >> n >> k;
  string s;
  cin >> s;
  if (k - 1 < (n - k)) {
    for (int i = 0; i < (k - 1); ++i) printf("LEFT\n");
    for (int i = 0; i < n; ++i) {
      printf("PRINT %c\n", s[i]);
      if (i != n - 1) printf("RIGHT\n");
    }
  } else {
    for (int i = 0; i < (n - k); ++i) printf("RIGHT\n");
    for (int i = n - 1; i >= 0; --i) {
      printf("PRINT %c\n", s[i]);
      if (i != 0) printf("LEFT\n");
    }
  }
}
