Task: Program Execution
Input (English): 1, 1, ['9823', 'L', 'X', '1811', '6181']
Output (English): 9823