Task: Program Execution
Input (English): Q, H
Output (English): 1, 2