Task: Program Execution
Input (English): 461, 101, 293, d
Output (English): 0, 1, 2, 3, 4, 6, 9