Task: Program Execution
Input (English): 2, 2, ['8309', 'Q', '8209', '8775', '8779']
Output (English): Q