Task: Program Execution
Input (English): b, O, K, 3049, M, 5171, i
Output (English): 2, 15, 11, 3049, 13, 5171, 9