Task: Program Execution
Input (English): 3, 3, ['2377', 'n', '9571']
Output (English): 9571