Task: Program Execution
Input (English): 2341 M 4599 M Z r 1997 t 4647 5071 2737 8559 6939 f 5813 4211 K 1859 D E R 591 6161 W l c
Output (English): 1, 3, 7, 9, 10, 11, 12, 13, 15, 16, 18, 22, 23