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