Task: Program Execution
Input (English): q, 9709
Output (English): 1