#include <bits/stdc++.h>
using namespace std;
int n, k;
char letters[107];
int main() {
  scanf("%d %d", &n, &k);
  scanf("%s", &letters);
  if (k - 1 <= n - k) {
    for (int i = k - 1; i >= 1; i--) {
      printf("LEFT\n");
    }
    for (int i = 1; i <= n; i++) {
      printf("PRINT %c\n", letters[i - 1]);
      if (i < n) printf("RIGHT\n");
    }
  } else {
    for (int i = k + 1; i <= n; i++) {
      printf("RIGHT\n");
    }
    for (int i = n; i >= 1; i--) {
      printf("PRINT %c\n", letters[i - 1]);
      if (i > 1) printf("LEFT\n");
    }
  }
  return 0;
}
