Task: Program Execution
Input (English): 397, 13
Output (English): 1, 3, 7, 9