Task: Program Execution
Input (English): 2, 2, ['Q', 'L']
Output (English): L