Task: Program Execution
Input (English): 1, ['9773', '7877', '5321', '8199', 'q']
Output (English): 7877, 5321, 8199, q