Task: Program Execution
Input (English): Q, m
Output (English): 17, 13