Task: Program Execution
Input (English): B, M, 9067, 4223, 7503, U, 6329, J, r, e, 4515
Output (English): B, M, U, J, r, e