Task: Program Execution
Input (English): 8491, B, 7761, 2575, 4223, T, T, 6211, 1945, 549, 3035, 419, 4235, W, 7977
Output (English): B, T, T, W, 8491, 7761, 2575, 4223, 6211, 1945, 549, 3035, 419, 4235, 7977