Task: Program Execution
Input (English): 6229, 1007, w, 1265, 1777, 1311, 8881, 5107, 5947, C
Output (English): 1, 2, 4, 5, 6, 7, 8, 9