Task: Program Execution
Input (English): B, 1737, 9531, 2523, 5617, 2603, r, d, B, m, 1895, 7015, q, 2461, S, 5863, 3415, f, 4063, 2309
Output (English): 1737, 9531, 2523, 5617, 2603, 1895, 7015, 2461, 5863, 3415, 4063, 2309