Task: Program Execution
Input (English): 5, 5, ['z', 'c', 'Y', 'n', 'W', '7649']
Output (English): W