Task: Program Execution
Input (English): 3479 i 6165 7917 Z d z h t 4907 T 803 W 6653 d 3355 w M 7897 8085 1787 6045 6673 g 2833 x B 3075 M Z H 4013 u x G 9503
Output (English): 1, 3, 4, 10, 12, 14, 16, 19, 20, 21, 22, 23, 25, 28, 32, 36