#include <bits/stdc++.h>
int main() {
  int n, k;
  char str[105], c;
  int i, t, p, ptr;
  scanf("%d %d", &n, &k);
  p = 1;
  c = getchar();
  while ((c = getchar()) != '\n') {
    str[p++] = c;
  }
  str[p] = '\0';
  if (k > n / 2) {
    ptr = 1;
    t = k;
    while (t < n) {
      printf("RIGHT\n");
      t++;
    }
  } else {
    ptr = 0;
    t = k;
    while (t > 1) {
      printf("LEFT\n");
      t--;
    }
  }
  if (ptr == 0) {
    for (i = 1; i < n; i++) {
      printf("PRINT %c\n", str[i]);
      printf("RIGHT\n");
    }
    printf("PRINT %c\n", str[n]);
  } else {
    for (i = n; i > 1; i--) {
      printf("PRINT %c\n", str[i]);
      printf("LEFT\n");
    }
    printf("PRINT %c\n", str[1]);
  }
  return 0;
}
