Task: Program Execution
Input (English): 1, 2, ['B', '1845', '3319', 'B', 'M', '2231', 'x', '4875', '9483', 'T', '7499', '8499']
Output (English): B, 3319, M, x, 9483, 7499