Task: Program Execution
Input (English): 3, 3, ['e', '2067', '5637', '9121', '1021', '3729']
Output (English): 5637