Task: Program Execution
Input (English): w, 319, s, 487, 291, c, d, 375, x, 499
Output (English): 1, 2, 3, 4, 5, 7, 8, 9