Task: Program Execution
Input (English): 295, p, 127, 499, g, 461, 407, 143
Output (English): 0, 1, 2, 3, 4, 5, 6, 7, 9