Task: Program Execution
Input (English): 5963 x 9243 f 2743 S 8861 823 R 9771 2997 9445 8827 x 7433 2003 2457 I 2823 8203 l S R 8899 l M o i 1271 1497 h 9105 f 1151 Y u g
Output (English): 2, 4, 6, 9, 14, 18, 21, 22, 23, 25, 26, 27, 28, 31, 33, 35, 36, 37