Task: Program Execution
Input (English): 777 1515 R 4851 B D H 6615 H R 3251 w 9289 h r 6437 6331 s x R 49 u 8017 m Z 4157 6083 6387 6113 w Q X l 1519 7721 W 7871 F t 5245
Output (English): 1, 2, 4, 8, 11, 13, 16, 17, 21, 23, 26, 27, 28, 29, 34, 35, 37, 40