Task: Program Execution
Input (English): Q, I, 9081, 7945, Q, M, Z, 5753, b, f, 4001, 3659, z, 2319, H, 5923
Output (English): 3, 4, 8, 11, 12, 14, 16