Task: Program Execution
Input (English): 6, 6, ['V', 'C', '9791', 'B', '3629', 'Z']
Output (English): Z