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