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