Task: Program Execution
Input (English): 5, 5, ['9511', '9197', '8577', '1451', 'H']
Output (English): H