Task: Program Execution
Input (English): 489, 27, 375, 471
Output (English): 1, 2, 3, 4, 5, 7, 8, 9