#include <bits/stdc++.h>
using namespace std;
int di[] = {0, 0, 1, -1, 1, 1, -1, -1};
int dj[] = {1, -1, 0, 0, 1, -1, 1, -1};
void movecToRight(string &str, int &pos) {
  for (; pos < ((int)str.size()); pos++) {
    if (str[pos] != '*')
      cout << "PRINT"
           << " " << str[pos] << endl;
    if (pos < ((int)str.size()) - 1) cout << "RIGHT" << endl;
    str[pos] = '*';
  }
  pos = ((int)str.size()) - 1;
}
void moveToLeft(string &str, int &pos) {
  for (; pos >= 0; pos--) {
    if (str[pos] != '*')
      cout << "PRINT"
           << " " << str[pos] << endl;
    if (pos > 0) cout << "LEFT" << endl;
    str[pos] = '*';
  }
  pos = 0;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n, k;
  cin >> n >> k;
  --k;
  string str;
  cin >> str;
  if (k > n - k - 1) {
    movecToRight(str, k);
    moveToLeft(str, k);
  } else {
    moveToLeft(str, k);
    movecToRight(str, k);
  }
  return 0;
}
