Task: Program Execution
Input (English): c Q U r X L M h 189 S u 5637 459 7149 2495 4965 981 8671 4413 3737 5939 6699 F 6269 q 9323 r 3827 p Y g s H Q P 5871 2837
Output (English): 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 23, 25, 27, 29, 30, 31, 32, 33, 34, 35