Task: Program Execution
Input (English): 9895, 1015, 581, 7963, 9971, 3361, 8947, 3569, z
Output (English): 1, 2, 3, 4, 5, 6, 7, 8