Task: Program Execution
Input (English): v, 6331, R
Output (English): 22, 6331, 18