Task: Program Execution
Input (English): q, x, 9947, 1283, 3529, 4561
Output (English): 9947, 1283, 3529, 4561