Task: Program Execution
Input (English): 3295 C 6797 847 3007 h y 7777 r 315 3803 1731 3149 J 6111 9729 N r 311 8253 6763 4795 3839 6707 2765 5551 w 8237 O z 1705 7433 m
Output (English): 1, 3, 4, 5, 8, 10, 11, 12, 13, 15, 16, 19, 20, 21, 22, 23, 24, 25, 26, 28, 31, 32