#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k;
  char str[105];
  while (~scanf("%d %d", &n, &k)) {
    cin >> str;
    int low = k - 1 - 0, high = n - k;
    int pos = k - 1, flag = 0;
    if (low < high) {
      flag = 0;
      while (pos != 0) {
        pos--;
        printf("LEFT\n");
      }
    } else if (low >= high) {
      flag = 1;
      while (pos != n - 1) {
        pos++;
        printf("RIGHT\n");
      }
    }
    if (flag) {
      while (1) {
        if (pos != 0) {
          printf("PRINT %c\n", str[pos]);
          printf("LEFT\n");
          pos--;
        } else if (pos == 0) {
          printf("PRINT %c\n", str[pos]);
          break;
        }
      }
    } else {
      while (1) {
        if (pos != n - 1) {
          printf("PRINT %c\n", str[pos]);
          printf("RIGHT\n");
          pos++;
        } else if (pos == n - 1) {
          printf("PRINT %c\n", str[pos]);
          break;
        }
      }
    }
  }
  return 0;
}
