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