Task: Program Execution
Input (English): 1227, 9323, 6883, e, 4327, 1177, 2643, N, M, Q, V, 8245, M, 7943
Output (English): e, N, M, Q, V, M, 1227, 9323, 6883, 4327, 1177, 2643, 8245, 7943