Task: Program Execution
Input (English): v, 9671, 129, 9261, 8133, 5917, L, R
Output (English): 5