public static void main(String[] args) throws Exception {
		in = new BufferedReader(new InputStreamReader(System.in));
		out = new PrintWriter(System.out);
		st = new StringTokenizer(in.readLine());

		int left = 0;
		int right = readInt() - 1;
		int position = readInt() - 1;
		char[] slogan = readString().toCharArray();

		// Move to closest edge and print
		int distanceLeft = position - left;
		int distanceRight = right - position;
		if (distanceLeft < distanceRight) {
			while (position-- > left) out.println("LEFT");
			while (position++ < right) {
				out.println("PRINT " + slogan[position]);
				if (position < right) out.println("RIGHT");
			}
		} else {
			while (position++ < right) out.println("RIGHT");
			while (position-- > left) {
				out.println("PRINT " + slogan[position]);
				if (position > left) out.println("LEFT");
			}
		}

		out.flush();
	}