Task: Program Execution
Input (English): V, q
Output (English): 22, 17