Task: Program Execution
Input (English): Z 3473 r 7931 R j 2489 8231 5101 X l 1407 t 8477 o 9947 X 3031 2649 L Z 5561 f 4641 G 391 D 7987 6009 5301 p n 6709 f I L 7731
Output (English): 1, 3, 5, 6, 10, 11, 13, 15, 17, 20, 21, 23, 25, 27, 31, 32, 34, 35, 36