Task: Program Execution
Input (English): q, x, h
Output (English): 1, 2, 3