Task: Program Execution
Input (English): 7005 L 4851 R 9445 R W o A 3385 y 9643 j 4805 q G P 4585 A k 7803 2639 6363 9597 7789 w 9833 V 2603 g 2783 2517 4923 6219 8535 n 2349
Output (English): 2, 4, 6, 7, 8, 9, 11, 13, 15, 16, 17, 19, 20, 26, 28, 30, 36