#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k;
  string cad1;
  scanf("%d %d", &n, &k);
  cin.ignore();
  getline(cin, cad1);
  if (abs(n - k) < abs(k - 0)) {
    while (k < n) printf("RIGHT\n"), k++;
    for (int i = n - 1; i >= 0; i--)
      printf("PRINT %c%s", cad1[i], (i == 0) ? "\n" : "\nLEFT\n");
  } else {
    while (k > 1) printf("LEFT\n"), k--;
    for (int i = 0; i < n; i++)
      printf("PRINT %c%s", cad1[i], (i == n - 1) ? "\n" : "\nRIGHT\n");
  }
  return 0;
}
