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