Task: Program Execution
Input (English): o, 499, S, 9593, p, 5851, 3943, o, B, 967, 4287, 7133, 7339, 9597, 3971, p, 2467, I
Output (English): 2, 4, 6, 7, 10, 11, 12, 13, 14, 15, 17