Task: Program Execution
Input (English): 8235, Q, K, q, v, Q, 9239, 3837, 4939, 8867, Z, U, 7425
Output (English): Q, K, q, v, Q, Z, U, 8235, 9239, 3837, 4939, 8867, 7425