Task: Program Execution
Input (English): o, 165, o, 291, n, z, o, 59
Output (English): 1, 2, 5, 6, 9