Task: Program Execution
Input (English): 389, p, 451, 237, 125
Output (English): 1, 2, 3, 4, 5, 7, 8, 9