Task: Program Execution
Input (English): 381, 489, 431
Output (English): 1, 3, 4, 8, 9