Task: Program Execution
Input (English): M 29 2227 z q 7317 e 7033 5181 8705 459 7273 G F 2197 K x x 4297 q W s 7061 M 7889 E o 8899 2553 5317 3895 H
Output (English): 2, 3, 6, 8, 9, 10, 11, 12, 15, 19, 23, 25, 28, 29, 30, 31