Task: Program Execution
Input (English): 3, 3, ['7623', '4131', 'W']
Output (English): W