Task: Program Execution
Input (English): 8515 9865 M h Z D E 223 c 7571 Z 4441 P O I 5161 7655 R 2065 L w 3855 u M 1349 9239 2883 I 6751
Output (English): 1, 2, 8, 10, 12, 16, 17, 19, 22, 25, 26, 27, 29