Task: Program Execution
Input (English): 3859, 9055, k, 7685, 1223, 9511, Y, 8113, l, B
Output (English): 1, 2, 4, 5, 6, 8