#include <bits/stdc++.h>
using namespace std;
int n, k;
char arr[102];
string a = "LEFT", b = "RIGHT";
int main() {
  scanf("%d %d %s", &n, &k, arr);
  if (n - k < k) {
    a = "RIGHT";
    b = "LEFT";
    reverse(arr, arr + n);
    k = n - k;
  } else {
    k--;
  }
  for (int i = 0; i < k; i++) {
    cout << a << "\n";
  }
  for (int i = 0; i < n; i++) {
    printf("PRINT %c\n", arr[i]);
    if (i < n - 1) {
      cout << b << "\n";
    }
  }
  return 0;
}
