Task: Program Execution
Input (English): 5641, 5391, K, 2165, 7515, E, d
Output (English): 5641, 5391, 11, 2165, 7515, 5, 4