Task: Program Execution
Input (English): 2, 3, ['605', 'Q', '2177', '4679']
Output (English): Q, 2177