#include <bits/stdc++.h>
using namespace std;
const int maxn = 2e2 + 20;
char t[maxn];
int n, m;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  ;
  cin >> n >> m;
  for (int(i) = (1); (i) < (n + 1); (i)++) {
    cin >> t[i];
  }
  if (n - m >= m - 1) {
    cout << "PRINT " << t[m] << '\n';
    int cnt = 0;
    while (m != 1) {
      cnt++;
      m--;
      cout << "LEFT" << '\n';
      cout << "PRINT " << t[m] << '\n';
    }
    if (cnt == n - 1) return 0;
    for (int(i) = (1); (i) < (cnt + 1); (i)++) {
      m++;
      cout << "RIGHT" << '\n';
    }
    while (m != n) {
      m++;
      cout << "RIGHT" << '\n';
      cout << "PRINT " << t[m] << '\n';
    }
  } else {
    cout << "PRINT " << t[m] << '\n';
    int cnt = 0;
    while (m != n) {
      cnt++;
      m++;
      cout << "RIGHT" << '\n';
      cout << "PRINT " << t[m] << '\n';
    }
    if (cnt == n - 1) return 0;
    for (int(i) = (1); (i) < (cnt + 1); (i)++) {
      m--;
      cout << "LEFT" << '\n';
    }
    while (m != 1) {
      m--;
      cout << "LEFT" << '\n';
      cout << "PRINT " << t[m] << '\n';
    }
  }
}
