Task: Program Execution
Input (English): 7, 7, ['4181', '8723', '3725', 'Q', '6009', '8941', '4207', '3687', 'M']
Output (English): 4207