Task: Program Execution
Input (English): 823, q, y, K, 9529, 1731, 7857, B, 113, 905, Q
Output (English): 1, 5, 6, 7, 9, 10