Task: Program Execution
Input (English): 317, 421, 361, 319, 301, n
Output (English): 0, 1, 2, 3, 4, 6, 7, 9