Task: Program Execution
Input (English): Q, V, Z, S, r
Output (English): 17, 22, 26, 19, 18