#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, i;
  cin >> n >> k;
  k--;
  string s;
  cin >> s;
  int l = s.length();
  if (k >= (l / 2)) {
    while (k < (l - 1)) {
      cout << "RIGHT\n";
      k++;
    }
    for (i = l - 1; i > 0; i--) {
      cout << "PRINT " << s[i] << "\n";
      cout << "LEFT\n";
    }
    cout << "PRINT " << s[i];
  } else {
    while (k > 0) {
      cout << "LEFT\n";
      k--;
    }
    for (i = 0; i < (l - 1); i++) {
      cout << "PRINT " << s[i] << "\n";
      cout << "RIGHT\n";
    }
    cout << "PRINT " << s[i];
  }
  return 0;
}
