Task: Program Execution
Input (English): 3, 3, ['j', 'U', 'W', 'K', 'c', 'T']
Output (English): W