Task: Program Execution
Input (English): 5, 5, ['W', 'J', '5895', '3027', 'V']
Output (English): V