Task: Program Execution
Input (English): 4, 7, ['8721', '6283', 'Y', '7617', 'Y', 'q', '9907']
Output (English): 9907qY7617