Task: Program Execution
Input (English): 8187, 7715, j, k, I, J, V, 171
Output (English): 8187, 7715, 10, 11, 9, 10, 22, 171