#include <bits/stdc++.h>
using namespace std;
const double PI = acos(-1.0);
const int INF = 1000 * 1000 * 1000 + 7;
const long long LINF = INF * (long long)INF;
const int L = 20;
const int MAX = 5000 + 47;
const int MOD = 998244353;
int n, k;
string s;
bool inside(int i) { return i >= 0 && i < n; }
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cin >> n >> k >> s;
  k--;
  int d = (k >= n || k < n - 1 - k ? -1 : 1);
  while (1) {
    if (k == n - 1 || k == 0) break;
    cout << (d == -1 ? "LEFT" : "RIGHT") << endl;
    k += d;
  }
  d = d * -1;
  while (1) {
    cout << "PRINT " << s[k] << endl;
    k += d;
    if (!inside(k)) break;
    cout << (d == -1 ? "LEFT" : "RIGHT") << endl;
  }
}
