#include <bits/stdc++.h>
using namespace std;
const int mm = 1e5 + 10;
long long T, a1, a2, a3, a4, a5, a6, a7, a8, a9, ans, ez1, n, m, k;
string s, s1, s2;
string ms[20] = {"January",   "February", "March",    "April",
                 "May",       "June",     "July",     "August",
                 "September", "October",  "November", "December"};
void input() {
  cin >> n >> m;
  cin >> s;
  if (m > (n / 2)) {
    while (m != n) {
      cout << "RIGHT" << endl;
      m++;
    }
    for (int i = n - 1; i >= 0; i--) {
      cout << "PRINT " << s[i] << endl;
      if (i != 0) cout << "LEFT" << endl;
    }
  } else {
    while (m != 1) {
      cout << "LEFT" << endl;
      m--;
    }
    for (int i = 0; i < n; i++) {
      cout << "PRINT " << s[i] << endl;
      if (i != n - 1) cout << "RIGHT" << endl;
    }
  }
}
void solve() {}
int main() {
  cin.tie(0);
  input();
  solve();
  return 0;
}
