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