Task: Program Execution
Input (English): 4897, 5387, q, i, 2763, 9371, Z, V
Output (English): q, i, Z, V, 4897, 5387, 2763, 9371