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