Task: Program Execution
Input (English): 9389, K, U, 8511, M
Output (English): 9389, 11, 21, 8511, 13