#include <bits/stdc++.h>
using namespace std;
void moveLeft() { cout << "LEFT" << endl; }
void moveRight() { cout << "RIGHT" << endl; }
void print(char ch) { cout << "PRINT " << ch << endl; }
int main() {
  int numberOfCells, currentCell;
  cin >> numberOfCells >> currentCell;
  string slogan;
  cin >> slogan;
  if (currentCell <= numberOfCells - currentCell) {
    while (currentCell != 1) {
      moveLeft();
      currentCell--;
    }
    while (currentCell <= numberOfCells) {
      print(slogan[currentCell - 1]);
      if (currentCell == numberOfCells) {
        break;
      }
      moveRight();
      currentCell++;
    }
  } else {
    while (currentCell != numberOfCells) {
      moveRight();
      currentCell++;
    }
    while (currentCell >= 1) {
      print(slogan[currentCell - 1]);
      if (currentCell == 1) {
        break;
      }
      moveLeft();
      currentCell--;
    }
  }
}
