Task: Program Execution
Input (English): 8301, 9445, L, R
Output (English): 3, 4