Task: Program Execution
Input (English): 2, 3, ['M', 'h', 'f']
Output (English): hf