Task: Program Execution
Input (English): t, q, 6233, r, 4217, R, z, t, 6621, r, w, Q, 3981, J, 5657, 1809, 5829, U
Output (English): t, q, r, R, z, t, r, w, Q, J, U, 6233, 4217, 6621, 3981, 5657, 1809, 5829