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