Task: Program Execution
Input (English): k, 301, b, 247, 5, 189
Output (English): 0, 1, 2, 3, 4, 5, 7, 8, 9