Task: Program Execution
Input (English): c a a N D y I M 5127 t n D 5707 t I 4743 2447 Q d 6209 m 7253 3563 p F 8509 5811 3367 6223 f l 5685 J 3023 W 4245 Z t
Output (English): 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 14, 15, 18, 19, 21, 24, 25, 30, 31, 33, 35, 37, 38