Task: Program Execution
Input (English): 2, 2, ['p', 'W', 'n']
Output (English): W