Task: Program Execution
Input (English): 9045, B, b, 5233, w, w, L, J, 3203, 8833, H, 5367, 4547, C, K, 7261, 7979, 4335, D
Output (English): 9045, 5233, 3203, 8833, 5367, 4547, 7261, 7979, 4335