Task: Program Execution
Input (English): 9777, t, s, U, 2657, j, A, 2953, Q
Output (English): t, s, U, j, A, Q, 9777, 2657, 2953