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