Task: Program Execution
Input (English): 5909, 4373, D, 8173, T, A, r, Y, 1627, 1411, K
Output (English): 5909, 4373, 4, 8173, 20, 1, 18, 25, 1627, 1411, 11