Task: Program Execution
Input (English): 5, 5, ['K', 'f', '8307', '2437', 'V', 'x', '9197', 'N', 'w']
Output (English): V