Task: Program Execution
Input (English): 6927, B, 9727, 7435, M, 3615, T, 3505, l
Output (English): B, M, T, l, 6927, 9727, 7435, 3615, 3505