Task: Program Execution
Input (English): i, L, 7331, 9495, R
Output (English): 3, 4