Task: Program Execution
Input (English): 8497, n, 8311, q, 2249, o, k
Output (English): n, q, o, k, 8497, 8311, 2249