Task: Program Execution
Input (English): 3, 3, ['8311', 'W', 'U']
Output (English): U