#include <bits/stdc++.h>
using namespace std;
const int MAXN = 200;
char sign[MAXN];
int main() {
  ios_base::sync_with_stdio(false);
  int n, k;
  cin >> n >> k >> sign;
  if (n - k > k - 1) {
    for (int i = k - 1; i > 0; i--) cout << "LEFT" << endl;
    for (int i = 0; i < n; i++) {
      cout << "PRINT " << sign[i] << endl;
      if (i < n - 1) cout << "RIGHT" << endl;
    }
  } else {
    for (int i = k - 1; i < n - 1; i++) cout << "RIGHT" << endl;
    for (int i = n - 1; i >= 0; i--) {
      cout << "PRINT " << sign[i] << endl;
      ;
      if (i > 0) cout << "LEFT" << endl;
    }
  }
  return 0;
}
