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