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