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