Task: Program Execution
Input (English): 3, 4, ['w', '7981', 'h', 'M', '6469']
Output (English): Mh