Task: Program Execution
Input (English): B 2805 173 3401 8205 X a g T L 9969 793 8635 8251 4361 6021 3065 C W w 3261 p 9419 r 8829
Output (English): 1, 6, 7, 8, 9, 10, 18, 19, 20, 22, 24