Task: Program Execution
Input (English): 289, 385, m, 479, l, 143
Output (English): 1, 2, 3, 4, 5, 7, 8, 9