Task: Program Execution
Input (English): 4, 4, ['b', 'Z', 'I', 'Y', 'q', 'W']
Output (English): Y