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