Task: Program Execution
Input (English): x, 3487, 4025, n, q
Output (English): n, q, x