Task: Program Execution
Input (English): p, 493, 17, 5, c, 329
Output (English): 1, 2, 3, 4, 5, 7, 9