Task: Program Execution
Input (English): a, 67, 489, 39, 71
Output (English): 1, 3, 4, 6, 7, 8, 9