Task: Program Execution
Input (English): Q, 4025, 597, 9633, b, 1629, N, 8749, t, 7707, w, S
Output (English): 17, 4025, 597, 9633, 2, 1629, 14, 8749, 20, 7707, 23, 19