Task: Program Execution
Input (English): 5861, Q, G, 8943, 8493, I, k, l, l, 7183, q, q, 6125, 4971, Y
Output (English): Q, G, I, k, l, l, q, q, Y