Task: Program Execution
Input (English): o, 323, 141, 363, p, 117, o
Output (English): 1, 2, 3, 4, 6, 7