Task: Program Execution
Input (English): 839, D, 8587, 2657, K, C
Output (English): 839, 4, 8587, 2657, 11, 3