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