Task: Program Execution
Input (English): 489, 329, w, 315, n, y
Output (English): 1, 2, 3, 4, 5, 8, 9