Task: Program Execution
Input (English): 4, 4, ['3617', '5235', 'i', '2829', 'v']
Output (English): 2829