Task: Program Execution
Input (English): Q, 1229, 2157, r, h, 7001, M, 213, N, L, 7223, o, 7747, 3311, 8499
Output (English): Q, r, h, M, N, L, o, 1229, 2157, 7001, 213, 7223, 7747, 3311, 8499