Task: Program Execution
Input (English): 3887, C, 6111, L, e, X
Output (English): 9998