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