Task: Program Execution
Input (English): Q, 9761, v
Output (English): 17, 9761, 22