#include <bits/stdc++.h>
int n, k;
char st[110];
void init() {
  scanf("%d%d\n", &n, &k);
  for (int i = 1; i <= n; i++) scanf("%c", &st[i]);
}
void solve() {
  if (k - 1 < n - k) {
    for (int i = 1; i <= k - 1; i++) printf("LEFT\n");
    for (int i = 1; i < n; i++) {
      printf("PRINT %c\n", st[i]);
      printf("RIGHT\n");
    }
    printf("PRINT %c\n", st[n]);
  } else {
    for (int i = 1; i <= n - k; i++) printf("RIGHT\n");
    for (int i = n; i > 1; i--) {
      printf("PRINT %c\n", st[i]);
      printf("LEFT\n");
    }
    printf("PRINT %c\n", st[1]);
  }
}
int main() {
  init();
  solve();
  return 0;
}
