Task: Program Execution
Input (English): 6, 7, ['8417', '1321', 'i', 'x', '653', '5117', 'B', 'M', 'b', '831', '6731']
Output (English): 5117