#include <bits/stdc++.h>
using namespace std;
int n, k;
string s;
int main() {
  ios ::sync_with_stdio(false);
  cin.tie(NULL);
  cout << (fixed) << setprecision(6);
  while (cin >> n >> k >> s) {
    s = " " + s;
    if (k - 1 < n - k) {
      while (k > 1) {
        cout << "LEFT" << endl;
        --k;
      }
      for (int i = (1), _b = (n); i <= _b; i++) {
        cout << "PRINT " << s[i] << endl;
        if (i != n) cout << "RIGHT" << endl;
      }
    } else {
      while (k < n) {
        cout << "RIGHT" << endl;
        ++k;
      }
      for (int i = (n), _b = (1); i >= _b; i--) {
        cout << "PRINT " << s[i] << endl;
        if (i != 1) cout << "LEFT" << endl;
      }
    }
  }
  return 0;
}
