#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(NULL);
  int n, k;
  cin >> n >> k;
  string S;
  cin >> S;
  int l = k - 1;
  int r = n - k;
  if (l < r) {
    for (int i = k - 1; i > 0; i--) cout << "LEFT" << '\n';
    for (int i = 0; i < n; i++) {
      cout << "PRINT " << S[i] << '\n';
      if (i != n - 1) cout << "RIGHT" << '\n';
    }
  } else {
    for (int i = k - 1; i < n - 1; i++) cout << "RIGHT" << '\n';
    for (int i = 0; i < n; i++) {
      cout << "PRINT " << S[n - 1 - i] << '\n';
      if (i != n - 1) cout << "LEFT" << '\n';
    }
  }
  return 0;
}
