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