Task: Program Execution
Input (English): 6659 S 1925 M 6467 2611 B S 9405 189 521 u B F 9591 S 1601 W 7705 h 9549 Q 7365 3641 s d
Output (English): 1, 3, 5, 6, 9, 10, 11, 15, 17, 19, 21, 23, 24