Task: Program Execution
Input (English): 149, 417
Output (English): 1, 4, 7, 9