Task: Program Execution
Input (English): 1, ['6427', '2107', '4021', 'M', '1117', 'N', '6581', '6739', '5901', '3925', '3083', 'a', '921', '3251']
Output (English): 6427