Task: Program Execution
Input (English): 4, 4, ['Z', '7465', 'J', 'W']
Output (English): W