Task: Program Execution
Input (English): Q, r
Output (English):