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