Task: Program Execution
Input (English): 4, 4, ['9531', '7415', '5115', 'L']
Output (English): L