Task: Program Execution
Input (English): 2, ['X', 'Y', 'q', '8657']
Output (English): q, 8657