#include <bits/stdc++.h>
using namespace std;
void adskiy_razgon() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
}
const int mxN = 1e+9 + 7;
const long long INF = 1e+18 + 7;
int nod(int a, int b) {
  if (a == 0 || b == 0) {
    return 0;
  } else if (a == b) {
    return a;
  } else if (a > b) {
    return nod(a - b, b);
  } else {
    return nod(a, b - a);
  }
}
int nok(int a, int b) { return a * b / nod(a, b); }
void sp(int a, double b) { cout << fixed << setprecision(a) << b; }
void solve() {
  int n, m;
  cin >> n >> m;
  string s;
  cin >> s;
  if ((n + 1) / 2 >= m) {
    for (int i = 1; i <= m - 1; ++i) {
      cout << "LEFT\n";
    }
    for (int i = 0; i < s.size(); ++i) {
      cout << "PRINT " << s[i] << "\n";
      if (i != n - 1) {
        cout << "RIGHT\n";
      }
    }
  } else {
    for (int i = 1; i <= n - m; ++i) {
      cout << "RIGHT\n";
    }
    for (int i = s.size() - 1; i >= 0; --i) {
      cout << "PRINT " << s[i] << "\n";
      if (i != 0) {
        cout << "LEFT\n";
      }
    }
  }
}
int main() {
  adskiy_razgon();
  long long t = 1;
  for (int i = 1; i <= t; ++i) {
    solve();
  }
  return 0;
}
