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