Task: Program Execution
Input (English): 4, 4, ['4199', '2751', '375', '9421', '4843', 'Y', 'n', '4981', 's', '4379', 's', '13', '5149']
Output (English): 9421