#include <bits/stdc++.h>
using namespace std;
int n, k;
char a[111];
void readInput() {
  scanf("%d%d\n", &n, &k);
  gets(a);
  for (int i = n; i >= 1; i--) a[i] = a[i - 1];
}
int main() {
  if (0 == 1) {
    freopen("input.txt", "r", stdin);
  }
  readInput();
  if (k - 1 <= n - k) {
    for (int i = 1; i <= k - 1; i++) printf("LEFT\n");
    printf("PRINT %c\n", a[1]);
    for (int i = 2; i <= n; i++) {
      printf("RIGHT\n");
      printf("PRINT %c\n", a[i]);
    }
  } else {
    for (int i = 1; i <= n - k; i++) printf("RIGHT\n");
    printf("PRINT %c\n", a[n]);
    for (int i = n - 1; i >= 1; i--) {
      printf("LEFT\n");
      printf("PRINT %c\n", a[i]);
    }
  }
  return 0;
}
