Task: Program Execution
Input (English): 3, 3, ['8751', 'M', '3661', 'i', 'n']
Output (English): 3661