Task: Program Execution
Input (English): 4891 m 2327 3387 6931 f 5709 W M 1405 g b 2159 9351 1061 8395 7429 8211 L j 1035 W 5703 3587 1647 7997 6213 1145 S 8295 5933 l 239 585 U O s
Output (English): 1, 3, 4, 5, 7, 10, 13, 14, 15, 16, 17, 18, 21, 23, 24, 25, 26, 27, 28, 30, 31, 33, 34