Task: Program Execution
Input (English): 3, 3, ['2657', 'H', 'H', 'Z']
Output (English): H