Task: Program Execution
Input (English): 379, n
Output (English): 3, 7, 9