Task: Program Execution
Input (English): 7865, 1109, Q
Output (English): 1, 2