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