#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, i;
  cin >> n >> k;
  char a[n + 1];
  scanf("%s", &a);
  if (k > n / 2) {
    for (i = k; i < n; i++) cout << "RIGHT" << endl;
    for (i = n; i > 0; i--) {
      cout << "PRINT " << a[i - 1] << endl;
      if (i != 1) cout << "LEFT" << endl;
    }
  } else {
    for (i = 0; i < k - 1; i++) cout << "LEFT" << endl;
    for (i = 0; i < n; i++) {
      cout << "PRINT " << a[i] << endl;
      if (i != n - 1) cout << "RIGHT" << endl;
    }
  }
  return 0;
}
