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