#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int x, c;
  cin >> x >> c;
  string s = "";
  for (int i = 0; i < x; i++) {
    char d;
    cin >> d;
    s += d;
  }
  int u = x - c;
  int uu = c - 1;
  if (u < uu) {
    for (int i = 0; i < u; i++) {
      cout << "RIGHT"
           << "\n";
    }
    for (int i = s.size() - 1; i >= 0; i--) {
      cout << "PRINT " << s[i] << "\n";
      if (i != 0)
        cout << "LEFT"
             << "\n";
    }
  } else {
    for (int i = 0; i < uu; i++) {
      cout << "LEFT"
           << "\n";
    }
    for (int i = 0; i < s.size(); i++) {
      cout << "PRINT " << s[i] << "\n";
      if (i != s.size() - 1)
        cout << "RIGHT"
             << "\n";
    }
  }
  return 0;
}
