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