#include <bits/stdc++.h>
using namespace std;
int main(void) {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  long long int n, k, i, j, l, temp;
  cin >> n >> k;
  string s, str1, str2;
  cin >> s;
  l = s.length();
  if (k > n - k) {
    temp = n - k;
    str1 = "RIGHT";
    str2 = "LEFT";
    reverse(s.begin(), s.end());
  } else {
    temp = k - 1;
    str1 = "LEFT";
    str2 = "RIGHT";
  }
  while (temp--) cout << str1 << "\n";
  for (i = 0; i < n - 1; i++) {
    cout << "PRINT"
         << " " << s[i] << "\n";
    cout << str2 << "\n";
  }
  cout << "PRINT"
       << " " << s[i] << "\n";
}
