Task: Program Execution
Input (English): 417, 329
Output (English): 1, 2, 3, 4, 7, 9