Task: Program Execution
Input (English): 6, 6, ['J', '591', 't', 'o', '9675', '7705', '3641', '3813']
Output (English): 7705