Task: Program Execution
Input (English): 477, 447, 351
Output (English): 1, 3, 4, 5, 7