Task: Program Execution
Input (English): 9807, Y, u, I, w, 261, 4393, q, 4471, Q
Output (English): Y, u, I, w, q, Q, 9807, 261, 4393, 4471