Task: Program Execution
Input (English): B, r, M, 4101, J, w, c, 9023
Output (English): 1, 2, 3, 5, 6, 7