Task: Program Execution
Input (English): 17, 327
Output (English): 1, 2, 3, 7