Task: Program Execution
Input (English): 471, 497
Output (English): 1, 4, 7, 9