Task: Program Execution
Input (English): 17, 107, 103, 365, 385, 323, 73, 471
Output (English): 0, 1, 2, 3, 4, 5, 6, 7, 8