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