Task: Program Execution
Input (English): 1, 1, ['9703', '6227', '2641', '1087', 'q', '1803']
Output (English): 9703, 6227, 2641, 1087, q, 1803