Task: Program Execution
Input (English): 5, 5, ['5837', '4541', 'U', '1851', 'H', 'g']
Output (English): H