Task: Program Execution
Input (English): 3, 3, ['3811', 'M', 'U', 'r', 'K']
Output (English): U