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