Task: Program Execution
Input (English): n, 9107, i, G, Z, 9373, T, 5939, Q, 7039, z
Output (English): n, i, G, Z, T, Q, z, 9107, 9373, 5939, 7039