Task: Program Execution
Input (English): 3839, D, 4741, L
Output (English): 8580