#include <bits/stdc++.h>
const int N = 100 + 10;
bool vis[N];
char s[N];
int n, pos, tot = 0;
int main() {
  int dep = 0;
  scanf("%d%d", &n, &pos);
  scanf("%s", s + 1);
  if (pos + pos <= n) {
    while (pos != 1) {
      puts("LEFT");
      --pos;
    }
    for (int i = 1; i <= n; ++i) {
      printf("PRINT %c\n", s[i]);
      if (i == n) break;
      puts("RIGHT");
    }
  } else {
    while (pos != n) {
      ++pos;
      puts("RIGHT");
    }
    for (int i = n; i >= 1; --i) {
      printf("PRINT %c\n", s[i]);
      if (i == 1) break;
      puts("LEFT");
    }
  }
  return 0;
}
