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