#include <bits/stdc++.h>
using namespace std;
int main() {
  char a[110];
  int n, k, i, s, len;
  cin >> n >> k;
  cin >> a;
  len = strlen(a);
  s = (len + 1) / 2;
  if (k > s) {
    for (i = k; i < len; i++) cout << "RIGHT" << endl;
    printf("PRINT %c\n", a[len - 1]);
    for (i = len - 1; i > 0; i--) {
      cout << "LEFT\n";
      printf("PRINT %c\n", a[i - 1]);
    }
  } else {
    for (i = k - 1; i > 0; i--) cout << "LEFT\n";
    printf("PRINT %c\n", a[0]);
    for (i = 1; i < len; i++) {
      cout << "RIGHT\n";
      printf("PRINT %c\n", a[i]);
    }
  }
  return 0;
}
