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