Task: Program Execution
Input (English): p, 147, f, 455, 77, 165, t, 157, 173, t
Output (English): 1, 3, 4, 5, 6, 7