Task: Program Execution
Input (English): 2, 4, ['5199', 'p', 'U', '7401', '6045', '3287']
Output (English): 7401