Task: Program Execution
Input (English): L, 4771, 4761, V, 2683, R
Output (English): 2, 3, 5