Task: Program Execution
Input (English): d i 4111 5035 m 8245 v 3289 7009 k 9895 8023 3605 m 1765 3223 7601 Z M 8645 8707 Z 4679 K 1245 A M 4085 7315 2801 629 5565 s 4747
Output (English): 3, 4, 6, 8, 9, 11, 12, 13, 15, 16, 17, 20, 21, 23, 25, 28, 29, 30, 31, 32, 34