Task: Program Execution
Input (English): 2989, x, K, 7261, v, 3339, 6059, b, 9165, c, 9013, C, j, a, C
Output (English): 2989, 24, 11, 7261, 22, 3339, 6059, 2, 9165, 3, 9013, 3, 10, 1, 3